Merge pull request #129 from mstable/feat/setup-coming-soon-page #40
This file contains hidden or 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@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/action-discord@0.3.2 | |
| with: | |
| args: "✅ mStable-landing: new version 🚀 Deploy url: https://mstable.org/" |