-
Notifications
You must be signed in to change notification settings - Fork 22
49 lines (41 loc) · 1.16 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
48
49
name: CI
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: "2.5"
bundler-cache: true
- run: bundle exec jekyll build
name: Jekyll build
- name: HTMLProofer tests
run: |
bundle exec htmlproofer ./_site \
--allow-hash-href \
--check-favicon \
--check-html \
--disable-external \
--assume_extension
- name: GCP auth
uses: "google-github-actions/auth@v0"
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
credentials_json: "${{ secrets.GCP_KEY }}"
- name: Deploy to App Engine
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-MIPs: new version 🚀 Deploy url: https://mips.mstable.org/"