Skip to content

Commit

Permalink
Create webpage in GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
dhimmel committed Feb 17, 2020
1 parent 4785470 commit 78350c1
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/manubot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,22 @@ jobs:
# commit_message: todo
# user_name: todo
# user_email: [email protected]
- name: Webpage Dereference Symlinks
# workaround https://github.com/peaceiris/actions-gh-pages/issues/103
- name: Configure Webpage
# Configure versioned webpage and timestamp
shell: bash --login {0}
run: |
cp --recursive --dereference webpage webpage_dereferenced
manubot webpage \
--timestamp \
--no-ots-cache \
--checkout=gh-pages \
--version="${{ github.sha }}"
# - name: Webpage Dereference Symlinks
# # workaround https://github.com/peaceiris/actions-gh-pages/issues/103
# run: |
# cp --recursive --dereference webpage webpage_dereferenced
- name: Deploy Webpage
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./webpage_dereferenced
publish_dir: ./webpage
publish_branch: gh-pages

0 comments on commit 78350c1

Please sign in to comment.