File tree Expand file tree Collapse file tree 1 file changed +20
-8
lines changed
Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Original file line number Diff line number Diff line change 88jobs :
99 docs :
1010 runs-on : ubuntu-latest
11-
1211 steps :
1312 - uses : actions/checkout@v4
1413 with :
@@ -25,11 +24,24 @@ jobs:
2524 - name : Build VuePress site
2625 run : yarn docs:build
2726
28- - name : Deploy to GitHub Pages
29- uses : crazy-max/ghaction-github-pages@v4
27+ - name : Generate CNAME
28+ run : echo "im.doocs.org" > docs/.vuepress/dist/CNAME
29+
30+ - name : Upload artifact
31+ uses : actions/upload-pages-artifact@v3
3032 with :
31- target_branch : gh-pages
32- build_dir : docs/.vuepress/dist
33- fqdn : im.doocs.org
34- env :
35- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33+ path : docs/.vuepress/dist
34+
35+ deploy :
36+ needs : docs
37+ runs-on : ubuntu-latest
38+ permissions :
39+ pages : write
40+ id-token : write
41+ environment :
42+ name : github_pages
43+ url : ${{ steps.deployment.outputs.page_url }}
44+ steps :
45+ - name : Deploy to GitHub Pages
46+ id : deployment
47+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments