Skip to content

Commit

Permalink
Change deploy job to deploy on release (#833)
Browse files Browse the repository at this point in the history
Deploying on merge would override the deployment used for testing. A separate canister will be introduced to deploy to on merge at a later stage.
  • Loading branch information
Frederik Rothenberger authored Aug 23, 2022
1 parent 8f10fc8 commit 433d0fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/canister-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -490,10 +490,10 @@ jobs:
default_author: github_actions
message: "🤖 Selenium screenshots auto-update"

# This deploys the production build to mainnet, to a canister that we use for testing.
# This deploys the production build to mainnet, to a canister that we use for release testing.
deploy:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
if: startsWith(github.ref, 'refs/tags/release-')
needs: docker-build
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 433d0fa

Please sign in to comment.