Dev pipeline und build Skript

This commit is contained in:
Moritz Utcke
2024-03-06 08:54:42 +07:00
parent 9964fded85
commit f679f215cc
4 changed files with 44 additions and 90 deletions

View File

@@ -1,27 +0,0 @@
name: Production Deployment
on:
release:
types: [ created ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Deploy to production.
uses: appleboy/ssh-action@master
with:
host: "212.227.155.91"
username: "root"
password: "!2Zc727cI1"
port: 22
script: |
cd ~/apps/online-energieausweis
git reset --hard HEAD
git clean -f -d
git pull origin main
git status
npm install -g bun
bun install
bash build.sh