Skip to content

feat: add github link to the site #14 (#19) #38

feat: add github link to the site #14 (#19)

feat: add github link to the site #14 (#19) #38

Workflow file for this run

on: push
name: Build and deploy GH Pages
jobs:
test:
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/main'
steps:
- name: checkout
uses: actions/checkout@v3
with:
lfs: true
- name: build_and_deploy
uses: shalzz/[email protected]
env:
PAGES_BRANCH: gh-pages
BUILD_ONLY: true
BUILD_FLAGS: --drafts
CHECK_LINKS: true
build:
environment: main
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: checkout
uses: actions/checkout@v3
with:
lfs: true
- name: build_and_deploy
uses: shalzz/[email protected]
env:
PAGES_BRANCH: gh-pages
TOKEN: ${{ secrets.TOKEN }}