Skip to content

Commit

Permalink
fix(ci): ensure deploy workflow does not override benchmark data (#4376)
Browse files Browse the repository at this point in the history
  • Loading branch information
pichlermarc authored Dec 18, 2023
1 parent 3e59291 commit 37add77
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
cache: 'npm'
cache-dependency-path: |
package-lock.json
node-version: '18'
node-version: '20'

- name: Install and Build 🔧
run: |
Expand All @@ -29,8 +29,10 @@ jobs:
NODE_OPTIONS: --max-old-space-size=6144

- name: Deploy Documentation 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: docs # The folder the action should deploy.
branch: gh-pages # The branch the action should deploy to.
folder: docs # The folder the action should deploy.
# ensure we don't override benchmark data
clean-exclude: |
benchmarks/**

0 comments on commit 37add77

Please sign in to comment.