diff --git a/.github/workflows/eleventy_build.yml b/.github/workflows/eleventy_build.yml new file mode 100644 index 0000000..4c342e5 --- /dev/null +++ b/.github/workflows/eleventy_build.yml @@ -0,0 +1,22 @@ +name: Eleventy Build +on: + push: + branches: + - 'main' + +jobs: + build_deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@main + - name: Build + uses: TartanLlama/actions-eleventy@v1.3 + with: + install_dependencies: true + args: --pathprefix 2023 + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + publish_dir: _site + publish_branch: gh-pages + github_token: ${{ secrets.GITHUB_TOKEN }}