Skip to content

Commit

Permalink
Remove staging deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
richaagarwal committed Dec 12, 2024
1 parent a3c4aa2 commit 627f6bf
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,36 +46,6 @@ jobs:
tfe-token: ${{ secrets.TFE_TOKEN }}
env: 'prod'
operation: 'create-or-update'
staging:
name: deploy to staging
runs-on: ubuntu-latest
if: github.repository == 'chanzuckerberg/napari-hub' && github.ref == 'refs/heads/main'
steps:
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-region: us-west-2
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
role-duration-seconds: 1200
- name: Login to ECR
uses: docker/login-action@v1
with:
registry: ${{ secrets.ECR_REPO }}
- name: Set up docker build environment
run: |
echo STACK_NAME=${GITHUB_REF_NAME} >> $GITHUB_ENV
echo DOCKER_TAG=${GITHUB_REF_NAME} >> $GITHUB_ENV
- name: Deploy Changes to Staging
uses: chanzuckerberg/github-actions/.github/actions/[email protected]
env:
ENV: staging
with:
stack-name: 'staging'
create-tag: 'true'
tag: ${{ env.DOCKER_TAG }}
tfe-token: ${{ secrets.TFE_TOKEN }}
env: 'staging'
operation: 'create-or-update'

lighthouse-ci:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 627f6bf

Please sign in to comment.