mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 02:41:35 +01:00
Update demo deployment action to use different action package
This commit is contained in:
10
.github/workflows/demo-server-deploy.yml
vendored
10
.github/workflows/demo-server-deploy.yml
vendored
@@ -20,13 +20,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Setup SSH key
|
- name: Install SSH Key
|
||||||
uses: webfactory/ssh-agent@v0.9.0
|
uses: shimataro/ssh-key-action@v2
|
||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ secrets.DEMO_SERVER_SSH_KEY }}
|
key: ${{ secrets.DEMO_SERVER_SSH_KEY }}
|
||||||
|
known_hosts: ${{ secrets.DEMO_SERVER_KNOWN_HOSTS }}
|
||||||
- name: Add server to known hosts
|
|
||||||
run: ssh-keyscan -H ${{ env.SERVER_IP }} >> ~/.ssh/known_hosts
|
|
||||||
|
|
||||||
- name: Deploy to demo server
|
- name: Deploy to demo server
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user