remove unused workflow
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
name: Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: self-hosted
|
||||
defaults:
|
||||
run:
|
||||
working-directory: /mnt/volume_nyc3_01/Portal.RhemaWaveTech.com
|
||||
steps:
|
||||
- name: Pull latest changes
|
||||
run: git pull
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run migrations
|
||||
run: |
|
||||
set -a
|
||||
source .env
|
||||
set +a
|
||||
npx prisma migrate deploy
|
||||
|
||||
- name: Build app
|
||||
run: |
|
||||
export DATABASE_URL="postgresql://dummy:dummy@localhost:5432/dummy"
|
||||
export BETTER_AUTH_SECRET="build-time-placeholder-not-used"
|
||||
npm run build
|
||||
|
||||
- name: Install production dependencies
|
||||
run: npm ci --omit=dev
|
||||
|
||||
- name: Restart portal
|
||||
run: sudo systemctl restart portal
|
||||
Reference in New Issue
Block a user