Try again
This commit is contained in:
parent
8545a74d33
commit
15e1681f0b
1 changed files with 15 additions and 4 deletions
19
.github/workflows/pelican-publish.yml
vendored
19
.github/workflows/pelican-publish.yml
vendored
|
@ -10,10 +10,21 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Change path
|
- name: Create requirements.txt
|
||||||
run: cd docs
|
uses: 1arp/create-a-file-action@0.2
|
||||||
|
with:
|
||||||
|
file: requirements.txt
|
||||||
|
content: |
|
||||||
|
pelican
|
||||||
|
markdown
|
||||||
|
- name: Create build.sh
|
||||||
|
uses: 1arp/create-a-file-action@0.2
|
||||||
|
with:
|
||||||
|
file: build.sh
|
||||||
|
content: |
|
||||||
|
cd docs
|
||||||
- name: Build and Publish
|
- name: Build and Publish
|
||||||
uses: nelsonjchen/gh-pages-pelican-action@master
|
uses: iranzo/gh-pages-pelican-action@1.0.1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
PELICAN_CONFIG_FILE: docs/publishconf.py
|
PELICAN_CONFIG_FILE: publishconf.py
|
||||||
|
|
Loading…
Reference in a new issue