File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 11# Simple workflow for deploying static content to GitHub Pages
2- name : Deploy Relic documentation
2+ name : Publish Relic documentation
33
44on :
55 # Runs on pushes targeting the default branch
66 push :
77 branches :
88 - " main"
99 paths :
10- - ' docsite /**'
10+ - ' doc/site /**'
1111
1212 # Allows you to run this workflow manually from the Actions tab
1313 workflow_dispatch :
@@ -36,28 +36,26 @@ jobs:
3636 with :
3737 node-version : 20
3838 cache : npm
39- cache-dependency-path : docsite /package-lock.json
39+ cache-dependency-path : doc/site /package-lock.json
4040 - name : Install dependencies
4141 run : npm ci
42- working-directory : ./docs
42+ working-directory : ./doc/site
4343 - name : Build docs
4444 run : npm run build
45- working-directory : ./docs
45+ working-directory : ./doc/site
4646 - name : Upload build artifact
4747 uses : actions/upload-pages-artifact@v3
4848 with :
4949 path : ' ./doc/site/build'
5050
5151 deploy :
52- name : Deploy documentation
52+ name : Publish documentation
5353 needs : build
5454 environment :
5555 name : github-pages
5656 url : ${{ steps.deployment.outputs.page_url }}
5757 runs-on : ubuntu-latest
5858 steps :
59- # - name: Setup Pages
60- # uses: actions/configure-pages@v5
6159 - name : Deploy to GitHub Pages
6260 id : deployment
6361 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments