frontend CI
This commit is contained in:
@ -1,19 +1,19 @@
|
||||
name: deploy to production
|
||||
run-name: ${{ gitea.actor }} has pushed to production
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- $default-branch
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy-frontend:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: fetching the repo
|
||||
uses: actions/checkout@v4
|
||||
- name: installing npm dependencies
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/node-setup
|
||||
working-directory: ./frontend
|
||||
run: npm install
|
||||
- name: building
|
||||
working-directory: ./frontend
|
||||
run: npm run build
|
||||
|
Reference in New Issue
Block a user