From 15b187b6b7b1d5f7136da19d66cc0fce2659c7a9 Mon Sep 17 00:00:00 2001 From: Ian Andwati Date: Tue, 21 Nov 2023 16:25:38 +0300 Subject: [PATCH] deploy to github pages --- .github/workflows/zolatogithubpages.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/zolatogithubpages.yml diff --git a/.github/workflows/zolatogithubpages.yml b/.github/workflows/zolatogithubpages.yml new file mode 100644 index 0000000..f16960f --- /dev/null +++ b/.github/workflows/zolatogithubpages.yml @@ -0,0 +1,18 @@ +# On every push this script is executed +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@v3.0.0 + - name: build_and_deploy + uses: shalzz/zola-deploy-action@master + env: + # Target branch + PAGES_BRANCH: gh-pages + # Provide personal access token + TOKEN: ${{ secrets.TOKEN }} + BUILD_THEMES: false \ No newline at end of file