Skip to content

update CI

update CI #2

Workflow file for this run

name: 'Deploy'
on: push
jobs:
build:
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/main'
steps:
- name: 'checkout'
uses: actions/checkout@v4
- name: 'build'
uses: shalzz/zola-deploy-action@v0.17.2
env:
PAGES_BRANCH: gh-pages
BUILD_DIR: .
TOKEN: ${{ secrets.GITHUB_TOKEN }}
# BUILD_ONLY: true
build_and_deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: 'checkout'
uses: actions/checkout@v4
- name: 'build and deploy'
uses: shalzz/zola-deploy-action@v0.17.2
env:
PAGES_BRANCH: master
BUILD_DIR: .
TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY: cruzerngz/facesthe.github.io