Try abstracting more away into composite actions

This commit is contained in:
abejgonzalez
2021-10-07 22:57:29 -07:00
parent f117f7a0fe
commit ff41808df4
5 changed files with 170 additions and 781 deletions

14
.github/actions/ssh-checkout/action.yml vendored Normal file
View 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 }}