Skip to content

Bump postcss from 8.4.29 to 8.4.31 #358

Bump postcss from 8.4.29 to 8.4.31

Bump postcss from 8.4.29 to 8.4.31 #358

Workflow file for this run

name: github pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
# Default to bash
defaults:
run:
shell: bash
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: Get Hugo version
run: echo "HUGO_VERSION=$(cat .hugo_version)" >> $GITHUB_ENV
- name: setup hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: ${{ env.HUGO_VERSION }}
extended: true
- name: Get node version from package.json
run: echo "NODE_VERSION=$(cat package.json | jq -r '.volta.node')" >> $GITHUB_ENV
- name: setup node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: fetch js dependencies from cache
uses: actions/cache@v3
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: |
npm-${{ hashFiles('package-lock.json') }}
npm-
- name: install js dependencies
run: npm ci
- name: Build with Hugo
env:

Check failure on line 65 in .github/workflows/gh-pages.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/gh-pages.yml

Invalid workflow file

You have an error in your yaml syntax on line 65
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
hugo \
--minify \
--baseURL ${{ steps.pages.outputs.base_url }}
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2