Remove old pipeline
This commit is contained in:
parent
e78021643b
commit
2a474b96cb
29
.github/workflows/deploy-production.yml
vendored
29
.github/workflows/deploy-production.yml
vendored
|
|
@ -1,29 +0,0 @@
|
||||||
name: Deploy
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
cd:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Deploy to server
|
|
||||||
uses: appleboy/ssh-action@master
|
|
||||||
with:
|
|
||||||
host: ${{ secrets.HOST }}
|
|
||||||
username: ${{ secrets.USERNAME }}
|
|
||||||
key: ${{ secrets.SSHKEY }}
|
|
||||||
port: ${{ secrets.PORT }}
|
|
||||||
script: |
|
|
||||||
cd ~/resellease
|
|
||||||
git pull origin main
|
|
||||||
git status
|
|
||||||
bun install
|
|
||||||
bun build
|
|
||||||
pm2 reload resellease
|
|
||||||
pm2 restart resellease
|
|
||||||
Loading…
Reference in New Issue
Block a user