Skip to content

Bump postcss from 8.4.27 to 8.4.31 #71

Bump postcss from 8.4.27 to 8.4.31

Bump postcss from 8.4.27 to 8.4.31 #71

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm run build
- run: rm -rf node_modules
- uses: actions/upload-artifact@v3
with:
name: frontend-output
path: .
build-website:
runs-on: ubuntu-latest
needs: build-frontend
steps:
- uses: actions/checkout@v3
with:
repository: 'refinedmods/sitegen'
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- run: go build
- uses: actions/download-artifact@v3
with:
name: frontend-output
- run: chown $USER sitegen
- run: ./sitegen build
env:
SITEGEN_GITHUB_TOKEN: ${{ secrets.SITEGEN_GITHUB_TOKEN }}
- uses: actions/upload-artifact@v3
with:
name: output
path: output/
deploy:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
needs: build-website
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: output
path: output/
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: output/