diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1ccb24d..f6b6084 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -37,4 +37,16 @@ jobs: # The GH actions bot is used by default if you didn't specify the two fields. # You can swap them out with your own user credentials. user_name: github-actions[bot] - user_email: 41898282+github-actions[bot]@users.noreply.github.com \ No newline at end of file + user_email: 41898282+github-actions[bot]@users.noreply.github.com + + - name: Pushes to another repository + uses: cpina/github-action-push-to-another-repository@main + env: + API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }} + with: + source-directory: 'build' + destination-github-username: 'shotit' + destination-repository-name: 'shotit.github.io' + user_name: github-actions[bot] + user-email: 41898282+github-actions[bot]@users.noreply.github.com + target-branch: main