build-deploy-assets.yaml 537 B

12345678910111213141516171819202122232425262728
  1. name: build-deploy-assets
  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@v3.1.0
  12. - name: Build
  13. run: |
  14. make all
  15. make html
  16. tar zcvf lkmpg-html.tar.gz ./html
  17. - name: Release
  18. uses: softprops/action-gh-release@v0.1.15
  19. with:
  20. files: |
  21. lkmpg.pdf
  22. lkmpg-html.tar.gz
  23. tag_name: "latest"
  24. prerelease: true