Skip to content

Commit bf48ea0

Browse files
committed
ci: Update all paths for building docs. (#137)
1 parent 7fcaed7 commit bf48ea0

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/deploy-documentation.yml renamed to .github/workflows/publish-documentation.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Simple workflow for deploying static content to GitHub Pages
2-
name: Deploy Relic documentation
2+
name: Publish Relic documentation
33

44
on:
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

0 commit comments

Comments
 (0)