-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3c4aa2
commit 627f6bf
Showing
1 changed file
with
0 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|