My static website generator using poole https://www.xythobuz.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docs.yml 1014B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. sed -i 's|https://www.xythobuz.de|https://xythobuz.github.io|g' macros.py
  28. ./poole.py --build
  29. cp -r static/* output/
  30. - name: Setup Pages
  31. uses: actions/configure-pages@v2
  32. - name: Upload artifact
  33. uses: actions/upload-pages-artifact@v1
  34. with:
  35. path: 'output'
  36. - name: Deploy to GitHub Pages
  37. id: deployment
  38. uses: actions/deploy-pages@v1