diff --git a/.github/workflows/11ty.yml b/.github/workflows/11ty.yml deleted file mode 100644 index b4e505f4..00000000 --- a/.github/workflows/11ty.yml +++ /dev/null @@ -1,3 +0,0 @@ -- name: Eleventy Action - uses: TartanLlama/actions-eleventy@v1.3 - diff --git a/.github/workflows/eleventy_build.yml b/.github/workflows/eleventy_build.yml new file mode 100644 index 00000000..0b3db3e4 --- /dev/null +++ b/.github/workflows/eleventy_build.yml @@ -0,0 +1,19 @@ +name: Eleventy Build +on: [push] + +jobs: + build_deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Build + uses: TartanLlama/actions-eleventy@master + with: + install_dependencies: true + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + publish_dir: _site + publish_branch: gh-pages + github_token: ${{ secrets.DEPLOY_TOKEN }} +