update deploy worklflow

This commit is contained in:
2025-03-15 21:16:25 +01:00
parent 7bf7339b47
commit ebcf97f2fd

View File

@@ -1,16 +1,27 @@
name: Build + Deploy
run-name: ${{ gitea.actor }} is deploying this page to production.
on: [push]
on:
push:
branches:
- main
jobs:
Explore-Gitea-Actions:
build:
runs-on: ubuntu-latest
steps:
- run: echo "Checkout repository first."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "The ${{ gitea.repository }} repository has been cloned to the runner."
- name: List files in the repository
- 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: |
ls ${{ gitea.workspace }}
- run: echo "This job's status is ${{ job.status }}."
npm install
- name: Gatsby Build
run: |
npm run build