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

Update mirror.yml

add file via action instead of cli commands
This commit is contained in:
sidey79 2021-11-07 03:18:13 +01:00 committed by GitHub
parent a5dee226e6
commit bbd28f38c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,6 @@ jobs:
git checkout -f "master"
git rebase "remotes/svn/trunk"
git add .github/* && git commit -m "add workflow files"
echo "::set-output name=SVN_FETCH_STATUS::complete"
elif [[ $RET != 124 ]]; then
echo "::set-output name=SVN_FETCH_STATUS::error"
fi
@ -101,6 +100,16 @@ jobs:
echo "A permanent error occured"
exit 1
- name: Commit changes
uses: EndBug/add-and-commit@v7
with:
message: 'add workflow file'
cwd: './src/fhem-mirror'
add: '.github/*'
branch: master
pull: 'NO-PULL'
push: false
# - name: Recreate tags from svn
# run: |
# for tag in `git branch -r | grep "tags/" | sed 's/ tags\///'`; do