test gh-page

This commit is contained in:
Ehab-hassan
2022-07-20 22:07:06 +02:00
committed by GitHub
parent 6ab7761003
commit 1efe4ecbdb

17
.github/workflows/action.yml vendored Normal file
View File

@@ -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 }}