My static website generator using poole https://www.xythobuz.de
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

docs.yml 930B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. name: Page
  2. # only build single instance of docs for latest main branch
  3. on:
  4. push:
  5. branches:
  6. - master
  7. jobs:
  8. deploy:
  9. runs-on: ubuntu-latest
  10. permissions:
  11. contents: write
  12. pages: write
  13. id-token: write
  14. steps:
  15. - name: Checkout repo
  16. uses: actions/checkout@v4
  17. with:
  18. fetch-depth: 0
  19. - name: Install dependencies
  20. run: |
  21. sudo apt update
  22. sudo apt install -y --install-recommends python3-markdown
  23. - name: Build site
  24. run: |
  25. rm -rf output
  26. mkdir output
  27. ./poole.py --build
  28. cp -r static/* output/
  29. - name: Setup Pages
  30. uses: actions/configure-pages@v2
  31. - name: Upload artifact
  32. uses: actions/upload-pages-artifact@v1
  33. with:
  34. path: 'output'
  35. - name: Deploy to GitHub Pages
  36. id: deployment
  37. uses: actions/deploy-pages@v1