Try abstracting more away into composite actions
This commit is contained in:
14
.github/actions/ssh-checkout/action.yml
vendored
Normal file
14
.github/actions/ssh-checkout/action.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
name: ssh-checkout
|
||||
description: "Checkout code and add SSH keys to access remote build server"
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SERVERKEY }}
|
||||
known_hosts: ${{ secrets.BUILDSERVER }}
|
||||
Reference in New Issue
Block a user