build(deps): bump follow-redirects from 1.14.1 to 1.15.4 in /api_2 #43
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
name: API2 Build & Deploy | |
on: | |
push: | |
paths: | |
- '.github/workflows/api2.yml' | |
- 'api_2/**' | |
- '!api_2/README.md' | |
jobs: | |
build-api2: | |
name: "Build/Push Docker Image (API2)" | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/master' | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ./.github/actions/build-docker-image | |
with: | |
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }} | |
GCP_PROJECT_ID: silken-phalanx-305703 | |
CONTAINER_REPO: gcr.io/silken-phalanx-305703/snap-api2 | |
DOCKER_CONTEXT: api_2 | |
deploy-development-api2: | |
name: "[D] Deploy API2" | |
needs: build-api2 | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/dev' | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ./.github/actions/deploy-api2 | |
with: | |
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }} | |
GCP_PROJECT_ID: silken-phalanx-305703 | |
CONTAINER_REPO: gcr.io/silken-phalanx-305703/snap-api2 | |
# big ball energy |