1
0
Fork 0
mirror of https://github.com/shimataro/ssh-key-action.git synced 2025-06-19 22:52:10 +10:00

* change trigger (#31)

This commit is contained in:
shimataro 2019-09-29 20:12:59 +09:00 committed by GitHub
parent 65b7588cc3
commit 75bbea63d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View file

@ -15,9 +15,9 @@ jobs:
strategy: strategy:
matrix: matrix:
platform: platform:
- "Windows-latest" - Windows-latest
- "macOS-latest" - macOS-latest
- "Ubuntu-latest" - Ubuntu-latest
nodejs: nodejs:
- 12 - 12
fail-fast: false fail-fast: false

View file

@ -1,6 +1,6 @@
# https://help.github.com/en/articles/workflow-syntax-for-github-actions # https://help.github.com/en/articles/workflow-syntax-for-github-actions
on: "pull_request" on: push
name: Connection test name: Connection test
jobs: jobs:
ssh: ssh:
@ -9,9 +9,9 @@ jobs:
strategy: strategy:
matrix: matrix:
platform: platform:
- "Windows-latest" - Windows-latest
- "macOS-latest" - macOS-latest
- "Ubuntu-latest" - Ubuntu-latest
fail-fast: false fail-fast: false
steps: steps:
- name: Install SSH key - name: Install SSH key
@ -19,7 +19,7 @@ jobs:
with: with:
private-key: ${{ secrets.SSH_KEY }} private-key: ${{ secrets.SSH_KEY }}
public-key: ${{ secrets.SSH_KEY_PUBLIC }} public-key: ${{ secrets.SSH_KEY_PUBLIC }}
name: 'id_rsa' # optional name: id_rsa # optional
known-hosts: ${{ secrets.KNOWN_HOSTS }} # optional known-hosts: ${{ secrets.KNOWN_HOSTS }} # optional
- name: git clone through SSH - name: git clone through SSH
run: git clone git@github.com:shimataro/ssh-key-action.git tmp run: git clone git@github.com:shimataro/ssh-key-action.git tmp