From 4b8272e5dc9f554fa48250870ff148fda099f7ec Mon Sep 17 00:00:00 2001 From: exoticorn Date: Fri, 5 Nov 2021 19:57:05 +0100 Subject: [PATCH] Create website build action --- .github/workflows/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/main.yml 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 }}