Skip to content

patch(deps): update patch versions #159

patch(deps): update patch versions

patch(deps): update patch versions #159

Workflow file for this run

---
name: general
"on":
push:
branches:
- master
pull_request:
branches:
- master
jobs:
general:
runs-on: ubuntu-latest
steps:
- name: Checkout source
id: source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Setup nodejs
id: nodejs
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: npm
- name: Setup hugo
id: hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: latest
extended: true
- name: Install assets
id: assets
run: npm install --ci
- name: Build website
id: build
run: hugo --cleanDestinationDir --enableGitInfo --minify --gc
- name: Deploy website
id: deploy
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
uses: netlify/actions/cli@master
with:
args: deploy --prod --dir public/
...