From 33eeb32825188d99c62e49ff5140b35e7f2a113f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Romanowski?= Date: Wed, 11 May 2022 08:53:20 +0200 Subject: [PATCH] Add GitHub actions pages publish --- .github/workflows/publish-pages.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/publish-pages.yml diff --git a/.github/workflows/publish-pages.yml b/.github/workflows/publish-pages.yml new file mode 100644 index 0000000..81a9ae1 --- /dev/null +++ b/.github/workflows/publish-pages.yml @@ -0,0 +1,18 @@ +name: Publish demo on GitHub Pages + +on: + push: + branches: + - master + +jobs: + build: + name: Publish site + runs-on: ubuntu-latest + steps: + - name: Checkout main + uses: actions/checkout@v3.0.0 + - name: Build and deploy + uses: shalzz/zola-deploy-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}