Skip to content

Commit

Permalink
fix: docs builds in CI (#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
sd2k authored Sep 24, 2024
1 parent a825f42 commit 1ecd480
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy-to-dev-portal-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
- name: Build documentation website
env:
GTAG_CONTAINER_ID: ${{ secrets.GTAG_CONTAINER_ID }}
run: yarn docs:build --config docusaurus.config.devportal.js
run: |
cd ./docusaurus/website
yarn docs:build --config docusaurus.config.devportal.js
- id: 'auth'
uses: 'google-github-actions/auth@v1'
Expand All @@ -47,4 +49,4 @@ jobs:
with:
path: './docusaurus/website/build/'
destination: 'staging-developer-portal/scenes'
parent: false
parent: false
6 changes: 4 additions & 2 deletions .github/workflows/deploy-to-dev-portal-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
- name: Build documentation website
env:
GTAG_CONTAINER_ID: ${{ secrets.GTAG_CONTAINER_ID }}
run: yarn docs:build --config docusaurus.config.devportal.prod.js
run: |
cd ./docusaurus/website
yarn build --config docusaurus.config.devportal.prod.js
- id: 'auth'
uses: 'google-github-actions/auth@v1'
Expand All @@ -47,4 +49,4 @@ jobs:
with:
path: './docusaurus/website/build/'
destination: 'grafana-developer-portal/scenes'
parent: false
parent: false

0 comments on commit 1ecd480

Please sign in to comment.