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

Update mirror.yml

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

View File

@ -73,6 +73,20 @@ jobs:
cat ${GITHUB_WORKSPACE}/src/fhem-mirror/.git/config;
fi
- name: Copy Workflow Files to target
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
timeout-minutes: 1800
@ -107,19 +121,7 @@ jobs:
# echo "Will now prepare push following directory structure to remote repo:";
# ls -la ;
# git config --add remote.origin.push 'refs/remotes/svn/trunk:refs/heads/master';
- name: Copy Workflow Files to target
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: Push force changes to master branch in same repo
if: ${{ steps.fetchsvn.outputs.SVN_FETCH_STATUS == 'complete' }}