Skip to content

Commit

Permalink
Do not run deployment pipeline, account has been deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhammerl committed Aug 8, 2024
1 parent b7db196 commit 6547b45
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,39 +38,39 @@ jobs:
- name: Unit test
run: make test-unit

deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs: test-unit
timeout-minutes: 15
permissions:
id-token: write
contents: read

steps:
- name: Check out repository code
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.11"

- name: Install pipenv
run: python -m pip install --upgrade pipenv

- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
with:
terraform_wrapper: false

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{env.AWS_REGION}}
role-to-assume: ${{ secrets.CI }}
role-duration-seconds: 900
role-skip-session-tagging: true

- name: Deploy to dev
run: make
# deploy:
# runs-on: ubuntu-latest
# if: github.ref == 'refs/heads/main'
# needs: test-unit
# timeout-minutes: 15
# permissions:
# id-token: write
# contents: read

# steps:
# - name: Check out repository code
# uses: actions/checkout@v2

# - name: Setup Python
# uses: actions/setup-python@v2
# with:
# python-version: "3.11"

# - name: Install pipenv
# run: python -m pip install --upgrade pipenv

# - name: Setup Terraform
# uses: hashicorp/setup-terraform@v2
# with:
# terraform_wrapper: false

# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@v4
# with:
# aws-region: ${{env.AWS_REGION}}
# role-to-assume: ${{ secrets.CI }}
# role-duration-seconds: 900
# role-skip-session-tagging: true

# - name: Deploy to dev
# run: make

0 comments on commit 6547b45

Please sign in to comment.