From 1efe4ecbdbbd2a0c1276d9beb81706e7761fca01 Mon Sep 17 00:00:00 2001 From: Ehab-hassan Date: Wed, 20 Jul 2022 22:07:06 +0200 Subject: [PATCH] test gh-page --- .github/workflows/action.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/action.yml diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml new file mode 100644 index 000000000..2cd2a64e8 --- /dev/null +++ b/.github/workflows/action.yml @@ -0,0 +1,17 @@ +# 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/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 }}