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