Skip to content

Commit

Permalink
Add netlify environment variables to benchmark deployment action
Browse files Browse the repository at this point in the history
  • Loading branch information
VojtechStep committed Feb 27, 2024
1 parent 18bc065 commit b03a961
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/profiling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,8 @@ jobs:
echo 'window.BENCHMARK_DATA =' | cat - ../benchmark-cache/data.json > benchmark-website/data.js
- name: Deploy the new profiling website
env:
NETLIFY_SITE_ID: ${{ secrets.PERF_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.PERF_SITE_KEY }}
run: |
npx netlify-cli deploy --dir=benchmark-website
npx netlify-cli deploy --prod --dir=benchmark-website

0 comments on commit b03a961

Please sign in to comment.