Skip to content

Commit

Permalink
Create push_to_server.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rezarzky authored May 22, 2024
1 parent 3d9dbce commit 0d7471f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/push_to_server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: remote to update
on: [push]
jobs:

build:
name: run command
runs-on: ubuntu-latest
steps:
- name: executing remote command to update
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_PORT }}
script: ./run_update.sh

0 comments on commit 0d7471f

Please sign in to comment.