Files
datacontroller.io/.github/workflows/publish.yml
T
Unknown efaa05549b
publish / Build-and-publish (push) Failing after 7m15s
fix: updating dependencies
2026-07-13 20:17:16 +01:00

31 lines
592 B
YAML

name: Gatsby Publish
on:
push:
branches: main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci --legacy-peer-deps
- name: Check prettier offences
run: npm run lint
- uses: enriikke/gatsby-gh-pages-action@v2
with:
access-token: ${{ secrets.DCSITE }}
deploy-branch: gh-pages
gatsby-args: --prefix-paths