deploy-github-page.yaml 475 B

123456789101112131415161718192021222324
  1. name: deploy-github-page
  2. on:
  3. push:
  4. branches: [ master ]
  5. workflow_dispatch:
  6. jobs:
  7. build:
  8. runs-on: ubuntu-latest
  9. container: twtug/lkmpg
  10. steps:
  11. - uses: actions/checkout@v4
  12. - name: Build
  13. run: |
  14. make html
  15. - name: Deploy to gh-pages branch
  16. uses: peaceiris/actions-gh-pages@v3.9.3
  17. with:
  18. github_token: ${{ secrets.GITHUB_TOKEN }}
  19. publish_dir: ./html
  20. publish_branch: gh-pages