Skip to content

Commit

Permalink
first job
Browse files Browse the repository at this point in the history
  • Loading branch information
sshresthadh committed Jan 29, 2024
1 parent 7fa1f9a commit 2199278
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/run-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
- name: Checkout codecs
uses: actions/checkout@v2

- name: Run scripts on servers via SSH
uses: appleboy/[email protected]
with:
host: ${{ secrets.REMOTE_HOST }}
username: ${{ secrets.REMOTE_USERNAME }}
port: ${{ secrets.SSH_PORT }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
sudo apt install nginx
# - name: Run scripts on servers via SSH
# uses: appleboy/[email protected]
# with:
# host: ${{ secrets.REMOTE_HOST }}
# username: ${{ secrets.REMOTE_USERNAME }}
# port: ${{ secrets.SSH_PORT }}
# key: ${{ secrets.SSH_PRIVATE_KEY }}
# script: |
# sudo apt install nginx

- name: copy file via ssh keys
uses: appleboy/[email protected]
Expand Down

0 comments on commit 2199278

Please sign in to comment.