deploy.yml 626 B

123456789101112131415161718192021222324252627282930
  1. name: deploy
  2. on: [workflow_dispatch, workflow_call]
  3. jobs:
  4. check:
  5. uses: ./.github/workflows/check.yml
  6. deploy:
  7. runs-on: ubuntu-latest
  8. name: Check
  9. steps:
  10. - name: Checkout
  11. uses: actions/checkout@v4
  12. with:
  13. fetch-depth: 0
  14. - name: Drop markdown.html
  15. uses: PJ-568/[email protected]
  16. - name: Setup Pages
  17. uses: actions/configure-pages@v4
  18. - name: Upload artifact
  19. uses: actions/upload-pages-artifact@v3
  20. with:
  21. path: "./"
  22. - name: Deploy to GitHub Pages
  23. id: deployment
  24. uses: actions/deploy-pages@v4