Files
microw8/.github/workflows/main.yml
2023-01-30 09:37:12 +01:00

22 lines
550 B
YAML

on:
push:
branches:
- master
name: Build and deploy GH Pages
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Change Owner of Container Working Directory
run: chown root:root .
- name: checkout
uses: actions/checkout@v3
- name: build_and_deploy
uses: shalzz/zola-deploy-action@v0.16.1
env:
# Target branch
PAGES_BRANCH: gh-pages
BUILD_DIR: site
# Provide personal access token
TOKEN: $GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}