Skip to content

Commit

Permalink
alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
mkysel committed Oct 22, 2024
1 parent 9d97337 commit 1199382
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/concurrency-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,32 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}


deploy:
deploy_dev:
name: Deploy new images to infra
runs-on: ubuntu-latest
needs: push_to_registry
strategy:
matrix:
environment: [dev, production, testnet]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy
run: echo "pushing ${{ needs.push_to_registry.outputs.digest }} to ${{ matrix.environment }}"
run: echo "pushing ${{ needs.push_to_registry.outputs.digest }} to dev"

deploy_prod:
name: Deploy new images to infra
runs-on: ubuntu-latest
needs: deploy_dev
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy
run: echo "pushing ${{ needs.push_to_registry.outputs.digest }} to prod"

deploy_testnet:
name: Deploy new images to infra
runs-on: ubuntu-latest
needs: push_to_registry
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy
run: echo "pushing ${{ needs.push_to_registry.outputs.digest }} to testnet"

0 comments on commit 1199382

Please sign in to comment.