3章をChatGPTにあらかた書いてもらい、4章を書き、5章の途中まで書いた。いったん publish #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: github-pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: github-pages | |
if: ${{ contains(github.event.head_commit.message, 'publish') }} | |
runs-on: ubuntu-latest | |
container: arcatdmz/texlive | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Build PDF file | |
run: latexmk && latexmk -c && mkdir -p docs && cp *.pdf ./docs/ | |
- name: Deploy pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs |