Skip to content

Commit

Permalink
Invert steps
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Sep 24, 2024
1 parent d73d2b4 commit c0b4513
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1072,6 +1072,13 @@ jobs:
run: |
./scripts/npm_measure_lib.sh || true
- name: Deploy GitHub Page
if: github.ref == 'refs/heads/main'
run: |
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git fetch origin gh-pages
./scripts/deploy_pages.sh
- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
Expand All @@ -1083,13 +1090,6 @@ jobs:
./scripts/npm_publish_shell.sh
./scripts/npm_publish_react.sh
- name: Deploy GitHub Page
if: github.ref == 'refs/heads/main'
run: |
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git fetch origin gh-pages
./scripts/deploy_pages.sh
merge_reports:
name: Merge benchmark reports
runs-on: ubuntu-latest
Expand Down

0 comments on commit c0b4513

Please sign in to comment.