Skip to content

Fix broken links (getzola.com -> getzola.org) #145

Fix broken links (getzola.com -> getzola.org)

Fix broken links (getzola.com -> getzola.org) #145

Workflow file for this run

name: Build and deploy GH Pages
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/master'
steps:
- name: checkout
uses: actions/checkout@v4
- name: build
uses: shalzz/[email protected]
env:
BUILD_DIR: docs/
BUILD_ONLY: true
build_and_deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: checkout
uses: actions/checkout@v4
- name: build_and_deploy
uses: shalzz/[email protected]
env:
PAGES_BRANCH: gh-pages
BUILD_DIR: docs/
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}