Skip to content

add notify to discord workflow #137

add notify to discord workflow

add notify to discord workflow #137

Workflow file for this run

name: "Dev - Build front, back and deploy"
on:
push:
branches:
- dev
jobs:
validation:
uses: ./.github/workflows/fullcheck.yml
build-front-artefact:
uses: ./.github/workflows/build-front-artefact.yml
build-back-artefact:
uses: ./.github/workflows/build-back-artefact.yml
deploy-dev:
needs: [validation, build-front-artefact, build-back-artefact]
uses: ./.github/workflows/deploy-to-scalingo.yml
with:
environment: dev
secrets:
SCALINGO_API_TOKEN: ${{ secrets.SCALINGO_API_TOKEN }}
merge-to-staging:
needs: [deploy-dev]
environment: staging
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Push dev to staging
run: |
git config --local user.email "actions@github.com"
git config --local user.name "GitHub Actions"
git fetch
git push origin origin/dev:staging