Skip to content

added font and code example blocks #27

added font and code example blocks

added font and code example blocks #27

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main # Set a branch name to trigger deployment
pull_request:
workflow_dispatch: {}
jobs:
deploy:
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
env:
DTC_HEADLES: true
steps:
- uses: actions/checkout@v3
- name: setup
run: chmod +x dtcw
- name: generateHTML
run: ./dtcw generateHTML
- name: generatePDF
run: ./dtcw generatePDF
- name: copyHTMLToPublic
run: cp -r ./build/html5/ ./public
- name: copyPDFToPublic
run: cp ./build/pdf/*.pdf ./public
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
# if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public