-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't start
ssh-agent
if it's already running
This allows to run the action multiple times to add multiple keys without removing already added ones.
- Loading branch information
Showing
3 changed files
with
38 additions
and
28 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 |
---|---|---|
|
@@ -9,12 +9,14 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup key | ||
- name: Setup first key | ||
uses: ./ | ||
with: | ||
ssh-private-key: | | ||
${{ secrets.MPDUDE_TEST_1_DEPLOY_KEY }} | ||
${{ secrets.MPDUDE_TEST_2_DEPLOY_KEY }} | ||
ssh-private-key: ${{ secrets.MPDUDE_TEST_1_DEPLOY_KEY }} | ||
- name: Setup second key | ||
uses: ./ | ||
with: | ||
ssh-private-key: ${{ secrets.MPDUDE_TEST_2_DEPLOY_KEY }} | ||
- run: | | ||
git clone https://github.com/mpdude/test-1.git test-1-http | ||
git clone [email protected]:mpdude/test-1.git test-1-git | ||
|
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
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