From b794a741c5a45ff576dcfb44902420635b0bb060 Mon Sep 17 00:00:00 2001 From: user0x42 Date: Fri, 20 Dec 2024 03:17:33 +0100 Subject: [PATCH] Create build-site.yml --- .github/workflows/build-site.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/build-site.yml diff --git a/.github/workflows/build-site.yml b/.github/workflows/build-site.yml new file mode 100644 index 0000000..a979a8d --- /dev/null +++ b/.github/workflows/build-site.yml @@ -0,0 +1,14 @@ +on: push +name: Build and deploy GH Pages +jobs: + build: + runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' + steps: + - name: checkout + uses: actions/checkout@v4 + - name: build_and_deploy + uses: shalzz/zola-deploy-action@master + env: + PAGES_BRANCH: gh-pages + TOKEN: ${{ secrets.GITHUB_TOKEN }}