add notify to discord workflow #137
Workflow file for this run
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: "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 |