Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/deploy-happy-stack@v1.7.4
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
Loading