-
-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (28 loc) · 814 Bytes
/
deploy.yml
File metadata and controls
32 lines (28 loc) · 814 Bytes
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
name: deploy
on:
push:
branches:
- sources
jobs:
deploy:
name: "Deploy"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get themes
run: |
git submodule update --init
cd themes && git submodule init Flex && cd -
cd themes && git submodule update && cd -
- name: Deploy
uses: nelsonjchen/gh-pages-pelican-action@0.1.10
#uses: iranzo/gh-pages-pelican-action@1.0.3
#run: make publish github
env:
GH_PAGES_BRANCH: master
GH_PAGES_CNAME: fofix.org
PELICAN_CONFIG_FILE: publishconf.py
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
PIWIK_URL: ${{secrets.PIWIK_URL}}
PIWIK_SITE_ID: ${{secrets.PIWIK_SITE_ID}}