Some checks failed
My Gatsby Deployment pipeline / build (push) Failing after 10s
26 lines
609 B
YAML
26 lines
609 B
YAML
name: My Gatsby Deployment pipeline
|
|
run-name: ${{ gitea.actor }} is deploying this page to production.
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Repository auschecken
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Node.js einrichten
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
cache: 'yarn'
|
|
|
|
- name: Install Dependencies
|
|
run: yarn install --frozen-lockfile # Use npm install if using npm
|
|
|
|
- name: Build Gatsby Site
|
|
run: yarn build # Runs Gatsby's production build |