Skip to content

Bump braces from 3.0.2 to 3.0.3 #132

Bump braces from 3.0.2 to 3.0.3

Bump braces from 3.0.2 to 3.0.3 #132

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@692973e3d937129bcbf40652eb9f2f61becf3332 # 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@v3
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: South-Paw/action-netlify-cli@v2
with:
args: deploy --prod --dir public/
...