From 2f7c7bcd95a3136b8281e683ec08faff25d7183c Mon Sep 17 00:00:00 2001 From: Chris Jordan Date: Mon, 4 Nov 2024 15:18:27 -0500 Subject: [PATCH] custom deployment for test branch --- .github/workflows/build.yml | 12 +++--------- appengine/frontend/app.yaml | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bdb9662fe..11fda4101 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,12 +1,6 @@ name: Build -on: - push: - branches: - - spelunker - tags: - - v** - pull_request: +on: [push, pull_request] jobs: build-and-deploy: @@ -71,9 +65,9 @@ jobs: - id: deploy uses: google-github-actions/deploy-appengine@main with: - version: ${{ env.GITHUB_SHA }} + version: ${{ env.BRANCH_NAME_URL }} deliverables: appengine/frontend/app.yaml - promote: true + promote: false - name: update deployment status uses: bobheadxi/deployments@v1 if: always() diff --git a/appengine/frontend/app.yaml b/appengine/frontend/app.yaml index 9d82ed937..7d375d9d1 100644 --- a/appengine/frontend/app.yaml +++ b/appengine/frontend/app.yaml @@ -1,6 +1,6 @@ runtime: python312 -service: spelunker +service: neuroglancer handlers: # Handle the main page by serving the index page.