forked from containers/podman-desktop-extension-ai-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ssh key for pushing to remote git repo
Signed-off-by: Liora Milbaum <[email protected]>
- Loading branch information
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,11 +21,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Push to mirror Repository | ||
run: | | ||
git remote add mirror https://${{ secrets.TOKEN }}@github.com/containers-mirror/ai-lab-recipes.git | ||
git push mirror main | ||
- uses: pixta-dev/[email protected] | ||
with: | ||
target_repo_url: | ||
[email protected]:containers-mirror/ai-lab-recipes.git | ||
ssh_private_key: | ||
${{ secrets.SSH_PRIVATE_KEY }} | ||
|
||
- name: Publish Job Results to Slack | ||
id: slack | ||
|