From 3e55e7e955f5585c7c079350b59905a0bff67d01 Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Wed, 20 Jul 2022 22:26:15 +0200 Subject: [PATCH] test Gh page --- .github/workflows/action.yml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 2cd2a64e8..181fd41a3 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -1,17 +1,18 @@ -# On every push this script is executed -on: push -name: Build and deploy GH Pages +name: Zola on GitHub Pages + +on: + push: + branches: + - development + jobs: build: + name: Publish site runs-on: ubuntu-latest - if: github.ref == 'refs/heads/development' 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 - # Provide personal access token - TOKEN: ${{ secrets.TOKEN }} + - name: Checkout development + uses: actions/checkout@v3.0.0 + - name: Build and deploy + uses: shalzz/zola-deploy-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file