demo-server2
Some checks failed
Koori-ERP-Demo-Deploy / sync-update (push) Failing after 0s

This commit is contained in:
2026-01-05 22:26:25 +08:00
parent fd65fa23e0
commit 488b5925da

View File

@@ -105,16 +105,16 @@ jobs:
sync-update: sync-update:
runs-on: demo-server runs-on: demo-server
steps: steps:
- name: 1. Checkout New Code
uses: actions/checkout@v3
with:
github-server-url: http://192.168.0.103:3000
repository: ${{ gitea.repository }}
# - name: 1. Checkout New Code # - name: 1. Checkout New Code
# run: | # uses: actions/checkout@v3
# # 進入工作目錄並直接用 git 抓 code完全不需要 Node # with:
# rm -rf ./* # github-server-url: http://192.168.0.103:3000
# git clone -b main http://server:3000/${{ gitea.repository }}.git . # repository: ${{ gitea.repository }}
- name: 1. Checkout New Code
run: |
# 進入工作目錄並直接用 git 抓 code完全不需要 Node
rm -rf ./*
git clone -b main http://server:3000/${{ gitea.repository }}.git .
- name: 2. Sync Files to Running Container - name: 2. Sync Files to Running Container
run: | run: |