Skip to content

Merge pull request #4 from datacite/split-validation-into-two-distinc… #50

Merge pull request #4 from datacite/split-validation-into-two-distinc…

Merge pull request #4 from datacite/split-validation-into-two-distinc… #50

Workflow file for this run

name: Deploy to staging
on:
push:
branches:
- "main"
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- dockerfile: ./docker/web/Dockerfile
image: ghcr.io/${{ github.repository }}web
- dockerfile: ./docker/worker/Dockerfile
image: ghcr.io/${{ github.repository }}worker
uses: ./.github/workflows/build_docker.yml
with:
image: ${{ matrix.image }}
dockerfile: ${{ matrix.dockerfile }}
deploy-api:
needs: [build]
uses: ./.github/workflows/deployment.yml
with:
versionvar_filename: keeshond
service_name: analytics-api
env_name: stage
secrets:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
deploy-worker:
needs: [build, deploy-api]
uses: ./.github/workflows/deployment.yml
with:
versionvar_filename: keeshond
service_name: analytics-worker
env_name: stage
secrets:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}