Skip to content

Merge pull request #1 from goldfishlaser/main #3

Merge pull request #1 from goldfishlaser/main

Merge pull request #1 from goldfishlaser/main #3

Workflow file for this run

name: Build w/ Asciidoctor & deploy to GitHub Pages
on:
push:
branches:
- deploy
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive # Fetch Hugo themes
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Build
run: make pdf && make html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
# or github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./public