Refactor SSH credentials in astro.yml workflow

This commit is contained in:
Max Schmidt 2023-05-13 17:40:15 +02:00
parent 7f53829c77
commit 759a477f31

View File

@ -11,12 +11,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Execute remote SSH commands
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.REMOTE_HOST }}
username: ${{ secrets.REMOTE_USER }}
key: ${{ secrets.REMOTE_SSH_KEY }}
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
key: ${{ secrets.KEY }}
script: |
mkdir hallo