Files
thiessen.io/.gitea/workflows/workflow.yaml
Dennis Thiessen 868b74d630
Some checks failed
My Gatsby Deployment pipeline / build (push) Failing after 16s
updated
2025-03-15 21:36:33 +01:00

42 lines
1.1 KiB
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: 16
- name: Python 2 installieren und verlinken
run: |
sudo apt-get update
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install -y python2.7
sudo ln -sf /usr/bin/python2.7 /usr/bin/python
- name: Abhängigkeiten für node-gyp installieren
run: |
sudo apt-get update
sudo apt-get install -y python3 python3-pip build-essential
npm install -g node-gyp
- name: Abhängigkeiten installieren
run: |
npm install
- name: Gatsby Build
run: |
npm run build