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 6e23d47 commit 6d5a3a1
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 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:
hhost: ${{ 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:
# hhost: ${{ 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 key
uses: appleboy/[email protected]
Expand All @@ -30,8 +30,8 @@ jobs:
username: ${{ secrets.REMOTE_USERNAME }}
port: ${{ secrets.SSH_PORT }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
echo && hostname
source: "help.txt"
target: /tmp


- name: Update Git code on the servers
Expand Down

0 comments on commit 6d5a3a1

Please sign in to comment.