-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (56 loc) · 1.55 KB
/
build.yaml
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
57
58
name: build
on:
push:
branches:
- beta
schedule:
- cron: '10 * * * *'
jobs:
scheduled:
runs-on: ubuntu-latest
steps:
- name: Check out this repo
uses: actions/checkout@v4
with:
ref: beta
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Setup git
run: |-
git config user.name "Karl Herrick"
git config user.email "me@karlherrick.com"
git checkout beta
- name: Init app
run: |-
npm run init
- name: Build HTML
run: |-
npm run build-routes
npm run build-json-news-hacker-news
npm run build-json-news-soylent-news
npm run build-json-news-lobsters
npm run build-json-news-slashdot
npm run build-feed-herrick-design
npm run build-feed-infinitym
npm run build-feed-karl-herrick
npm run gh-pages--build
npm run build-html-news-hacker-news
npm run build-html-news-soylent-news
npm run build-html-news-lobsters
npm run build-html-news-slashdot
npm run build-site-verification
npm run build-txt-sitemap
npm run build-txt-robots
npm run gh-pages--build-nojekyll
npm run gh-pages--build-revision
npm run gh-pages--build-manifest
npm run ngsw:config
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.APPS_DEPLOY_KEY }}
- name: Commit and push gh-pages
run: |-
npm run gh-pages--deploy