Skip to content

Release workflow should also deploy test env #17

Release workflow should also deploy test env

Release workflow should also deploy test env #17

Workflow file for this run

name: Deploy to staging
on:
push:
branches:
- "master"
jobs:
test:
uses: ./.github/workflows/test.yml
secrets: inherit
build:
needs: test
uses: ./.github/workflows/build_docker.yml
with:
image: ghcr.io/${{ github.repository }}
dockerfile: ./Dockerfile
deploy:
needs: [test, build]
uses: ./.github/workflows/deployment.yml
with:
versionvar_filename: _sashimi
service_name: metrics-api
env_name: stage
secrets:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}