2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

Create mirror.yml

move add workflow step position
This commit is contained in:
sidey79 2021-11-07 02:43:39 +01:00 committed by GitHub
parent 5604533e20
commit dbcd4907ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,15 +77,6 @@ jobs:
run: |
cp -R ${GITHUB_WORKSPACE}/.github ./src/fhem-mirror
- name: Commit changes
uses: EndBug/add-and-commit@v7
with:
message: 'add workflow file'
cwd: './src/fhem-mirror'
add: '.github/*'
branch: main
pull: 'NO-PULL'
push: false
- name: fetch svn to git master branch
id: fetchsvn
@ -96,8 +87,9 @@ jobs:
RET=0
timeout 1200 git svn -q fetch || timeout 120 git svn -q fetch || RET=$?; # Limit each run to 20 minutes to not overload fhem.de servers and build cache in chunks
if [[ $RET == 0 ]]; then
git checkout -f "master"
git checkout -f "main"
git rebase "remotes/svn/trunk"
git add .github/* -m "add workflow files"
echo "::set-output name=SVN_FETCH_STATUS::complete"
elif [[ $RET != 124 ]]; then
echo "::set-output name=SVN_FETCH_STATUS::error"