mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
Update mirror.yml
add workflow file to repistory then push
This commit is contained in:
parent
cae8adf150
commit
56435c692f
14
.github/workflows/mirror.yml
vendored
14
.github/workflows/mirror.yml
vendored
@ -107,11 +107,21 @@ 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: Recopy Workflow Files
|
||||
- name: Copy Workflow Files to target
|
||||
run: |
|
||||
ls -a ${GITHUB_WORKSPACE}
|
||||
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
|
||||
if: ${{ steps.fetchsvn.outputs.SVN_FETCH_STATUS == 'complete' }}
|
||||
uses: ad-m/github-push-action@v0.6.0
|
||||
|
Loading…
Reference in New Issue
Block a user