Skip to content

Bump tj-actions/changed-files from 39 to 41 in /.github/workflows #66

Bump tj-actions/changed-files from 39 to 41 in /.github/workflows

Bump tj-actions/changed-files from 39 to 41 in /.github/workflows #66

Workflow file for this run

name: CICD
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: 0 4 * * *
jobs:
pre_commit:
runs-on: ubuntu-latest
if: github.event_name != 'schedule'
steps:
- uses: actions/checkout@v2
- uses: pre-commit/[email protected]
build-deploy:
runs-on: ubuntu-latest
needs: pre_commit
steps:
- name: Checkout Repo
uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 1
lfs: true
- uses: actions/setup-node@v3
with:
node-version: 19
- run: npm install
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 0.112.3
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: jordismit.com