diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 435cc5613..31e61f933 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -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