diff --git a/workflows/deploy.yml b/workflows/deploy.yml new file mode 100644 index 00000000..b4ce1d28 --- /dev/null +++ b/workflows/deploy.yml @@ -0,0 +1,20 @@ + +name: Deploy to GitHub Pages + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github\_token: ${{ secrets.GITHUB\_TOKEN }} + publish\_dir: ./