updated workflow
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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
|
||||
Reference in New Issue
Block a user