Add some logging.
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 52s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 52s
This commit is contained in:
parent
df20ad86c9
commit
b7d11b743d
1 changed files with 6 additions and 1 deletions
|
@ -10,8 +10,13 @@ jobs:
|
||||||
runs-on: alpine-latest
|
runs-on: alpine-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Test
|
||||||
|
run: ls /usr/bin
|
||||||
|
shell: sh
|
||||||
|
|
||||||
- name: Setup SSH Agent
|
- name: Setup SSH Agent
|
||||||
uses: webfactory/ssh-agent@v0.9.0
|
uses: webfactory/ssh-agent@v0.9.0
|
||||||
|
shell: sh
|
||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|
||||||
|
@ -21,7 +26,7 @@ jobs:
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
|
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
|
||||||
chmod 644 ~/.ssh/known_hosts
|
chmod 644 ~/.ssh/known_hosts
|
||||||
|
|
||||||
- name: Run Command via SSH
|
- name: Run Command via SSH
|
||||||
run: |
|
run: |
|
||||||
ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} '
|
ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} '
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue