This commit is contained in:
2024-09-24 08:39:14 +02:00
parent d51ee6ea4a
commit 93cafa4b82
+9 -9
View File
@@ -16,13 +16,13 @@ jobs:
steps: steps:
- name: Setup credentials to access private repositories - name: Setup credentials to access private repositories
run: git config --global url.https://${{ secrets.API_TOKEN_GITHUB }}@github.com/.insteadOf https://github.com/ run: git config --global url.https://${{ secrets.API_TOKEN_GITHUB }}@github.com/.insteadOf https://github.com/
- uses: sator-imaging/Copy-to-Another-Repository@v1 - name: Push generated webpage to another repository
uses: nkoppel/push-files-to-another-repository@v1.1.3
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with: with:
# required parameters source-files: 'DOC.md'
target-filepath: 'DOC.md' # file path to copy destination-username: 'dutchie032'
output-branch: 'main' # branch name to create pull request destination-repository: 'dutchie032.github.io'
output-repo: 'dutchie032/dutchie032.github.io' destination-directory: 'spearhead'
output-directory: "Spearhead" commit-email: 'timrorije@gmail.com'
git-token: ${{ secrets.API_TOKEN_GITHUB }}
git-name: "github-actions[bot]" # your name can be set by ${{ github.actor }}
git-email: 'github-actions[bot]@users.noreply.github.com' # associated user icon is shown in commit page