Skip to content

Commit

Permalink
to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ms609 committed May 13, 2020
1 parent 45c3866 commit ecc1890
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,32 @@ jobs:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2

- run: |
mkdir output
- uses: docker://pandoc/core:2.9
mkdir -p output
- name: PanDoc rendering
uses: docker://pandoc/core:2.9
with:
args: --standalone --output=output/concentration.html md/concentration.md
- run: |
echo "::set-env name=FILELIST::$(printf '"%s" ' *.md)"
- uses: docker://pandoc/latex:2.9
with:
args: --output=output/result.pdf ${{ env.FILELIST }}

- uses: actions/upload-artifact@master
args: --output=output/concentration.pdf ${{ env.FILELIST }}

- name: Upload artifact
uses: actions/upload-artifact@master
with:
name: output
path: output
path: output

- name: to gh-pages
uses: s0/git-publish-subdir-action@master
env:
REPO: self
BRANCH: gh-pages
FODLER: output
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ecc1890

Please sign in to comment.