Refactor SSH credentials in astro.yml workflow
This commit is contained in:
parent
7f53829c77
commit
759a477f31
7
.github/workflows/astro.yml
vendored
7
.github/workflows/astro.yml
vendored
@ -11,12 +11,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Execute remote SSH commands
|
- name: Execute remote SSH commands
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@master
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.REMOTE_HOST }}
|
host: ${{ secrets.HOST }}
|
||||||
username: ${{ secrets.REMOTE_USER }}
|
username: ${{ secrets.USER }}
|
||||||
key: ${{ secrets.REMOTE_SSH_KEY }}
|
key: ${{ secrets.KEY }}
|
||||||
script: |
|
script: |
|
||||||
mkdir hallo
|
mkdir hallo
|
||||||
|
Loading…
Reference in New Issue
Block a user