Skip to content

Add deployment scripts for dev and staging, and test out running the … #47

Add deployment scripts for dev and staging, and test out running the …

Add deployment scripts for dev and staging, and test out running the … #47

Workflow file for this run

name: CI
on: push
jobs:
lint:
uses: ./.github/workflows/lint.yaml
test:
uses: ./.github/workflows/test.yaml
deploy_production:
if: contains(github.ref, 'master')
needs: [lint, test]
uses: ./.github/workflows/deploy-production.yaml
deploy_dev:
if: contains(github.ref, 'dev')
needs: [lint, test]
uses: ./.github/workflows/deploy-dev.yaml
deploy_staging:
if: contains(github.ref, 'staging')
needs: [lint, test]
uses: ./.github/workflows/deploy-staging.yaml
# this is to test a deployment script
deploy_test:
if: contains(github.ref, 'chore/github-actions')
needs: [lint, test]
uses: ./.github/workflows/deploy-dev.yaml