update deploy worklflow
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user