From afdc5fc7a12da6f547a0435ca146ea30d3fb9f2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar?= Date: Fri, 14 Apr 2023 16:22:25 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20create=20main.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Deploys on push to main to github pages. --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 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..c483de3 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: Zola on GitHub Pages + +on: + push: + branches: + - main + +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@v0.17.2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}