-
-
Notifications
You must be signed in to change notification settings - Fork 59
56 lines (47 loc) · 1.4 KB
/
deploy.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
50
51
52
53
54
55
56
name: Deploy
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
schedule:
- cron: "0 7 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Environment Printer
uses: managedkaos/[email protected]
- name: Build apps
uses: hyoo-ru/mam_build@master2
with:
token: ${{ secrets.GH_PAT }}
package: mol
modules: app/docs app/hello app/supplies perf/jsfb perf/sierp perf/uibench perf/dbmon perf/dopes app/quine app/questions time/all plot/all app/report syntax2 func/sandbox/demo
- name: Consolidate apps
run: |
rm -rf mol/.git
rm -rf mol/.github
rm -rf mol/.gitignore
rm -rf mol/icon
- name: Deploy on GitHub Pages
if: github.ref == 'refs/heads/master'
uses: alex-page/[email protected]
with:
repo-token: ${{ secrets.GH_PAT }}
site-directory: mol
notify:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
INPUTS_CLIENT_PAYLOAD: '{"repository":${{ toJson(github.event.repository.name) }}}'
INPUTS_EVENT_TYPE: dependency_changed
INPUTS_REPOSITORY: ${{ matrix.repo }}
uses: rekgrpth/github-repository-dispatch-shell-action@v1
strategy:
matrix:
repo:
- hyoo-ru/mol.hyoo.ru