-
Notifications
You must be signed in to change notification settings - Fork 16
47 lines (39 loc) · 1.05 KB
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: CI
on:
push:
branches:
- master
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout [main]
with:
fetch-depth: 0
- uses: actions/setup-node@v3
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@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/"