File tree 1 file changed +21
-8
lines changed
1 file changed +21
-8
lines changed Original file line number Diff line number Diff line change 4
4
- master
5
5
6
6
jobs :
7
- publish :
7
+ build :
8
8
runs-on : ubuntu-latest
9
- permissions :
10
- contents : write
11
- deployments : write
12
9
name : Publish to Github Pages
13
10
steps :
14
11
- name : Checkout
33
30
export BASE=/example-dex/
34
31
yarn build
35
32
36
- - name : Publish to Github Pages
37
- uses : peaceiris/ actions-gh- pages@v3
33
+ - name : Upload artifact
34
+ uses : actions/upload- pages-artifact @v3
38
35
with :
39
- github_token : ${{ secrets.GITHUB_TOKEN }}
40
- publish_dir : ./build/client
36
+ path : ./build/client
37
+
38
+ deploy :
39
+ needs : build
40
+
41
+ permissions :
42
+ pages : write
43
+ id-token : write
44
+
45
+ environment :
46
+ name : github-pages
47
+ url : ${{ steps.deployment.outputs.page_url }}
48
+
49
+ runs-on : ubuntu-latest
50
+ steps :
51
+ - name : Deploy to GitHub Pages
52
+ id : deployment
53
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments