27 lines
528 B
YAML
27 lines
528 B
YAML
name: My Gatsby Deployment pipeline
|
|
run-name: ${{ gitea.actor }} is deploying this page to production.
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
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: 14
|
|
|
|
- name: Abhängigkeiten installieren
|
|
run: |
|
|
npm install
|
|
|
|
- name: Gatsby Build
|
|
run: |
|
|
npm run build |