Skip to content

Commit

Permalink
Update canary-beta-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sserrata authored Nov 17, 2023
1 parent 20bc0bf commit 0bc74e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/canary-beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Canary Beta Release
on:
push:
branches:
- v2.0.0
- v3.0.0
paths:
- packages/**

Expand All @@ -14,7 +14,7 @@ jobs:
publish-canary:
name: Publish Canary Beta
runs-on: ubuntu-latest
if: ${{ github.repository == 'PaloAltoNetworks/docusaurus-openapi-docs' && github.ref == 'refs/heads/v2.0.0' && github.event_name == 'push' }}
if: ${{ github.repository == 'PaloAltoNetworks/docusaurus-openapi-docs' && github.ref == 'refs/heads/v3.0.0' && github.event_name == 'push' }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -30,7 +30,7 @@ jobs:
git config --global user.name "Steven Serrata"
git config --global user.email "[email protected]"
git fetch
git checkout v2.0.0
git checkout v3.0.0
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" >> .npmrc
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
Expand Down

0 comments on commit 0bc74e6

Please sign in to comment.