Skip to content

a small tweak

a small tweak #43

Workflow file for this run

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