This commit is contained in:
@@ -29,13 +29,13 @@ jobs:
|
|||||||
ssh-keyscan -p 22 192.168.1.15 >> ~/.ssh/known_hosts
|
ssh-keyscan -p 22 192.168.1.15 >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
- name: Clone public repo
|
- name: Clone public repo
|
||||||
run: git clone --depth 1 ssh://git@192.168.1.15:22/Bausager/Flux-oss.git /tmp/public
|
run: git clone --depth 1 ssh://git@192.168.1.15:22/Bausager/Flux-openbuild.git /tmp/public
|
||||||
|
|
||||||
- name: Sync files using .gitea/workflows/oss-keep.txt
|
- name: Sync files using .gitea/workflows/openbuild-keep.txt
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
KEEP_FILE=".gitea/workflows/oss-keep.txt"
|
KEEP_FILE=".gitea/workflows/openbuild-keep.txt"
|
||||||
INCLUDE_FILE="$(pwd)/.oss-include.rsync"
|
INCLUDE_FILE="$(pwd)/.openbuild-include.rsync"
|
||||||
: > "$INCLUDE_FILE"
|
: > "$INCLUDE_FILE"
|
||||||
echo "+ */" >> "$INCLUDE_FILE"
|
echo "+ */" >> "$INCLUDE_FILE"
|
||||||
while IFS= read -r line; do
|
while IFS= read -r line; do
|
||||||
|
|||||||
Reference in New Issue
Block a user