Skip to content

Commit

Permalink
ci(deploy): Remove AWS deploy workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Nov 8, 2023
1 parent b86800e commit fb1c56a
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,35 +82,3 @@ jobs:
with:
name: dist
path: dist

deploy-dev:
name: Deploy (dev)
needs: build
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
permissions:
id-token: write
contents: read
uses: ./.github/workflows/deploy.yml
with:
environment: dev
url: https://dev.mnemonic.ninja
bucket-name: dev.mnemonic.ninja
secrets:
aws-role-arn: ${{ secrets.DEV_AWS_ROLE_ARN }}
cloudfront-id: ${{ secrets.DEV_CLOUDFRONT_ID }}

deploy-prod:
name: Deploy (prod)
needs: build
if: startsWith(github.ref, 'refs/tags/v')
permissions:
id-token: write
contents: read
uses: ./.github/workflows/deploy.yml
with:
environment: prod
url: https://mnemonic.ninja
bucket-name: mnemonic.ninja
secrets:
aws-role-arn: ${{ secrets.PROD_AWS_ROLE_ARN }}
cloudfront-id: ${{ secrets.PROD_CLOUDFRONT_ID }}

0 comments on commit fb1c56a

Please sign in to comment.