2
0
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:
sidey79 2021-12-08 22:16:42 +01:00
parent 1918135e8f
commit de0d6cc3e9

View File

@ -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" ;