diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 78fd1b3..ee43ef0 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -16,13 +16,13 @@ jobs: steps: - name: Setup credentials to access private repositories 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: - # required parameters - target-filepath: 'DOC.md' # file path to copy - output-branch: 'main' # branch name to create pull request - output-repo: 'dutchie032/dutchie032.github.io' - output-directory: "Spearhead" - 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 \ No newline at end of file + source-files: 'DOC.md' + destination-username: 'dutchie032' + destination-repository: 'dutchie032.github.io' + destination-directory: 'spearhead' + commit-email: 'timrorije@gmail.com' \ No newline at end of file