-
-
Notifications
You must be signed in to change notification settings - Fork 71
35 lines (35 loc) · 1.17 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
name: Deploy
on:
push:
branches:
- 'develop'
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
lfs: 'true'
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install
run: yarn install
- name: Test
run: npm run test:ci
- name: Build
run: |
npm run build
- uses: jeffreytse/jekyll-deploy-action@d90a835c3b0d80402bd8f7a8c7cf694bb75c05dd # https://github.com/jeffreytse/jekyll-deploy-action/issues/64
with:
provider: 'github'
token: ${{ secrets.SHARED_BOT_GITHUB_TOKEN }} # rss-to-twitter require PAT for page_build event
branch: 'master' # Default is gh-pages for github provider
jekyll_src: './' # Default is root directory
jekyll_cfg: '_config.yml' # Default is _config.yml
jekyll_baseurl: '' # Default is according to _config.yml
bundler_ver: '2.1.4' # Default is latest bundler version
cname: 'jser.info' # Default is to not use a cname