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:
parent
a5dee226e6
commit
bbd28f38c3
11
.github/workflows/mirror.yml
vendored
11
.github/workflows/mirror.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user