Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
Use another external action
Browse files Browse the repository at this point in the history
  • Loading branch information
rettichlp committed May 22, 2023
1 parent 50a3326 commit 1a26960
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/wiki_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup SSH
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
uses: kielabokkie/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
ssh-host: rettichlp.de
deploy:
runs-on: ubuntu-latest
needs: [ build,setup-ssh ]
steps:
- name: executing remote ssh commands using ssh key
uses: appleboy/[email protected]
with:
host: rettichlp.de
username: ssh
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22
script: powershell -InputFormat None -F '"C:\Users\ssh\Desktop\update_unicacityaddon_wiki.ps1"'
- name: Deploy to server
run: scp -r site/ [email protected]:/unicacityaddon_wiki
- name: Execute update script
run: ssh -o StrictHostKeyChecking=no [email protected] powershell -InputFormat None -F '"C:\Users\ssh\Desktop\update_unicacityaddon_wiki.ps1"'
run: ssh [email protected] powershell -InputFormat None -F "C:\Users\ssh\Desktop\update_unicacityaddon_wiki.ps1"

0 comments on commit 1a26960

Please sign in to comment.