Skip to content

CI

CI #38

Workflow file for this run

name: CI
on:
push:
branches:
- master
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout [main]
with:
fetch-depth: 0
- uses: actions/setup-node@v4
name: Setup node
with:
node-version: 20
cache: "yarn"
- run: yarn install --frozen-lockfile
name: Install dependencies
- name: Build
run: yarn build
- name: GCP auth
uses: "google-github-actions/auth@v2"
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
credentials_json: "${{ secrets.GCP_KEY }}"
- name: Deploy Prod
id: deploy
uses: "google-github-actions/deploy-appengine@v2"
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/"