1 parent
22faefdb96
commit
df2ae54333
10 files changed
+58
-61
No files matched your search
@@ -0,0 +1,18 @@
|
||||
name: deploy
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
update-bot:
|
||||
runs-on: jino
|
||||
steps:
|
||||
- name: fetch code
|
||||
uses: actions/checkout@v4
|
||||
- name: copy
|
||||
run: rsync -avz --delete backend/ /var/www/redschinese --exclude .git --exclude .gitea
|
||||
- name: rebuild and load
|
||||
run: |
|
||||
cd /var/www/redschinese
|
||||
docker compose down
|
||||
docker compose up -d --build
|
||||
Reference in new issue
Block a user