Skip to content

Commit 698bae3

Browse files
committed
Use webfactory/ssh-agent instead of file-based key
1 parent f85036d commit 698bae3

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/setup.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v2
14+
- uses: webfactory/ssh-agent@v0.5.3
15+
with:
16+
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }
1417

15-
- name: Set up CI environment
16-
run: .github/setup.sh
1718
- name: Execute the build
1819
run: .github/build.sh
19-
env:
20-
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}

0 commit comments

Comments
 (0)