.github/workflows/deploy.yml (543B)
1 name: Deploy GitHub Pages 2 3 on: 4 push: 5 branches: [master] 6 paths: 7 - 'data/**' 8 workflow_dispatch: 9 10 permissions: 11 contents: write 12 13 jobs: 14 deploy: 15 runs-on: ubuntu-latest 16 17 steps: 18 - name: Checkout 19 uses: actions/checkout@v4 20 21 - name: Deploy to gh-pages 22 uses: peaceiris/actions-gh-pages@v4 23 with: 24 github_token: ${{ secrets.GITHUB_TOKEN }} 25 publish_dir: ./data 26 publish_branch: gh-pages 27 force_orphan: true 28 commit_message: "Deploy GitHub Pages"
