File tree 1 file changed +12
-16
lines changed
1 file changed +12
-16
lines changed Original file line number Diff line number Diff line change @@ -9,34 +9,30 @@ permissions:
9
9
contents : read
10
10
pages : write
11
11
id-token : write
12
- actions : write
13
12
14
13
jobs :
15
- build :
14
+ deploy :
16
15
runs-on : ubuntu-latest
17
16
environment :
18
17
name : github-pages
19
- url : ${{ steps.deployment.outputs.page_url }}
20
-
18
+ # url: ${{ steps.deployment.outputs.page_url }}
19
+
21
20
steps :
22
- - name : Checkout repository
23
- uses : actions/checkout@v4
24
-
21
+ - uses : actions/checkout@v4
22
+
25
23
- name : Setup Pages
26
24
uses : actions/configure-pages@v4
27
25
28
- - name : Copy source files
26
+ - name : Prepare deployment
29
27
run : |
28
+ rm -rf ./_site
30
29
mkdir -p ./_site
31
30
cp -r src/* ./_site/
32
-
31
+
33
32
- name : Upload artifact
34
33
uses : actions/upload-pages-artifact@v3
35
34
with :
36
- path : ./_site
37
-
38
- - name : Deploy to GitHub Pages
39
- id : deployment
40
- uses : actions/deploy-pages@v4
41
- with :
42
- token : ${{ secrets.GITHUB_TOKEN }}
35
+ path : ' _site'
36
+
37
+ - name : Deploy
38
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments