remove deploy workflow
This commit is contained in:
@@ -1,28 +0,0 @@
|
|||||||
name: Deploy
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
runs-on: [ovh-vps-1, deploy, hiddenden]
|
|
||||||
steps:
|
|
||||||
- name: mark repo as safe
|
|
||||||
shell: sh
|
|
||||||
run: |
|
|
||||||
git config --global --add safe.directory /appdata/Cozy-Den
|
|
||||||
|
|
||||||
- name: update code
|
|
||||||
shell: sh
|
|
||||||
run: |
|
|
||||||
cd /appdata/Cozy-Den
|
|
||||||
git fetch origin
|
|
||||||
git reset --hard origin/main
|
|
||||||
|
|
||||||
- name: deploy cozy den
|
|
||||||
shell: sh
|
|
||||||
run: |
|
|
||||||
cd /appdata/Cozy-Den
|
|
||||||
docker compose up -d --build
|
|
||||||
Reference in New Issue
Block a user