Merge pull request #120 from mstable/fix/update-dhedge-link #32
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: CI | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
name: Checkout [main] | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
name: Setup node | |
with: | |
node-version: 16 | |
cache: "yarn" | |
- run: yarn install --frozen-lockfile | |
name: Install dependencies | |
- name: Build | |
run: yarn build | |
- name: GCP auth | |
uses: "google-github-actions/auth@v0" | |
with: | |
project_id: ${{ secrets.GCP_PROJECT_ID }} | |
credentials_json: "${{ secrets.GCP_KEY }}" | |
- name: Deploy Prod | |
id: deploy | |
uses: "google-github-actions/deploy-appengine@v0" | |
with: | |
deliverables: 'app.yml' | |
- name: Discord notification | |
env: | |
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} | |
uses: Ilshidur/[email protected] | |
with: | |
args: "✅ mStable-landing: new version 🚀 Deploy url: https://mstable.org/" |