From d49a6df15bc352e2f315f53c63493b85f9bd69af Mon Sep 17 00:00:00 2001 From: Aaron Kanzer Date: Fri, 20 Sep 2024 11:41:38 -0400 Subject: [PATCH] add echo --- .github/workflows/deploy_preview.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/deploy_preview.yml b/.github/workflows/deploy_preview.yml index f8f8b8db0..1aaf7d880 100644 --- a/.github/workflows/deploy_preview.yml +++ b/.github/workflows/deploy_preview.yml @@ -1,21 +1,10 @@ -name: Build and Deploy +name: Build and Deploy Staging on: push: branches: - - ak-merge-upstream - workflow_dispatch: - inputs: - pr_id: - description: 'Pull Request ID' - required: false - default: 'manual' - type: string - commit_sha: - description: 'Commit SHA to Deploy' - required: false - default: '' - type: string + - staging + - '**' jobs: deploy: @@ -53,3 +42,6 @@ jobs: - name: Upload to S3 run: | aws s3 sync dist/client/ ${{ secrets.CLOUDFRONT_DEPLOYMENT_LOCATION }}/staging/${{ steps.vars.outputs.sha_short }}/ --delete + + - name: Display URL for Neuroglancer + run: echo "https://neuroglancer.lincbrain.org/cloudfront/frontend/staging/${{ steps.vars.outputs.sha_short }}/index.html"