diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..cd50a0f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +on: + push: + branches: + - master +name: Build and deploy GH Pages +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v2 + - name: build_and_deploy + uses: shalzz/zola-deploy-action@v0.14.1 + env: + # Target branch + PAGES_BRANCH: gh-pages + BUILD_DIR: site + # Provide personal access token + TOKEN: ${{ secrets.TOKEN }}