mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
mirror.yml
add working dir
This commit is contained in:
parent
1918135e8f
commit
de0d6cc3e9
2
.github/workflows/mirror.yml
vendored
2
.github/workflows/mirror.yml
vendored
@ -60,10 +60,10 @@ jobs:
|
||||
|
||||
- name: init mirror repository if it is not already a mirror
|
||||
timeout-minutes: 3800
|
||||
working-directory: ./src/fhem-mirror
|
||||
run: |
|
||||
if [[ ! -d "${GITHUB_WORKSPACE}/src/fhem-mirror/.git" ]]; then
|
||||
git init "${GITHUB_WORKSPACE}/src/fhem-mirror" ;
|
||||
cd "${GITHUB_WORKSPACE}/src/fhem-mirror";
|
||||
git svn init --trunk=trunk --tags=tags --prefix=svn/ https://svn.fhem.de/fhem;
|
||||
git config --add svn-remote.svn.preserve-empty-dirs "true" ;
|
||||
git config --add svn-remote.svn.placeholder-filename ".gitkeep" ;
|
||||
|
Loading…
Reference in New Issue
Block a user