File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 3434 --repo="$GITHUB_REPOSITORY" \
3535 --title="${GITHUB_REPOSITORY#*/} ${tag#v}" \
3636 --generate-notes
37+ docs :
38+ name : Build Docusaurus
39+ runs-on : ubuntu-latest
40+ steps :
41+ - uses : actions/checkout@v4
42+ with :
43+ fetch-depth : 0
44+ - uses : actions/setup-node@v4
45+ with :
46+ node-version : 18
47+ cache : yarn
48+
49+ - name : Install dependencies
50+ working-directory : docs
51+ run : yarn install --frozen-lockfile
52+ - name : Build website
53+ run : yarn build
54+
55+ - name : Upload Build Artifact
56+ working-directory : docs
57+ uses : actions/upload-pages-artifact@v3
58+ with :
59+ path : build
60+
61+ deploy :
62+ name : Deploy to GitHub Pages
63+ needs : build
64+
65+ # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
66+ permissions :
67+ pages : write # to deploy to Pages
68+ id-token : write # to verify the deployment originates from an appropriate source
69+
70+ # Deploy to the github-pages environment
71+ environment :
72+ name : github-pages
73+ url : ${{ steps.deployment.outputs.page_url }}
74+
75+ runs-on : ubuntu-latest
76+ steps :
77+ - name : Deploy to GitHub Pages
78+ id : deployment
79+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments