2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

Update mirror.yml

add workflow file to repistory then push
This commit is contained in:
sidey79 2021-11-07 01:58:01 +01:00 committed by GitHub
parent cae8adf150
commit 56435c692f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,11 +107,21 @@ jobs:
# echo "Will now prepare push following directory structure to remote repo:"; # echo "Will now prepare push following directory structure to remote repo:";
# ls -la ; # ls -la ;
# git config --add remote.origin.push 'refs/remotes/svn/trunk:refs/heads/master'; # git config --add remote.origin.push 'refs/remotes/svn/trunk:refs/heads/master';
- name: Recopy Workflow Files - name: Copy Workflow Files to target
run: | run: |
ls -a ${GITHUB_WORKSPACE}
cp -R ${GITHUB_WORKSPACE}/.github ./src/fhem-mirror 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'
psuh: '--force'
- name: Push force changes to master branch in same repo - name: Push force changes to master branch in same repo
if: ${{ steps.fetchsvn.outputs.SVN_FETCH_STATUS == 'complete' }} if: ${{ steps.fetchsvn.outputs.SVN_FETCH_STATUS == 'complete' }}
uses: ad-m/github-push-action@v0.6.0 uses: ad-m/github-push-action@v0.6.0