File tree Expand file tree Collapse file tree 1 file changed +32
-6
lines changed
Expand file tree Collapse file tree 1 file changed +32
-6
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - main
77
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ concurrency :
14+ group : " pages"
15+ cancel-in-progress : false
16+
17+ defaults :
18+ run :
19+ shell : bash
20+
821jobs :
922 build :
1023 runs-on : ubuntu-latest
1124
1225 steps :
13- - uses : actions/checkout@v2
26+ - uses : actions/checkout@v4
1427
1528 - name : Setup PHP
1629 uses : shivammathur/setup-php@v2
2235 composer install
2336 composer run-script phpdoc
2437
25- - name : Deploy to GH Pages
26- uses : maxheld83/ghpages@v0.3.0
27- env :
28- BUILD_DIR : ' build/api/'
29- GH_PAT : ${{ secrets.GH_PAT }}
38+ - name : Upload artifact
39+ uses : actions/upload-pages-artifact@v3
40+ with :
41+ path : ./build/api
42+
43+ deploy :
44+ environment :
45+ name : github-pages
46+ url : ${{ steps.deployment.outputs.page_url }}
47+
48+ runs-on : ubuntu-latest
49+
50+ needs : build
51+
52+ steps :
53+ - name : Deploy to GitHub Pages
54+ id : deployment
55+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments