Skip to content

Commit

Permalink
Create push_to_server.yml (#276)
Browse files Browse the repository at this point in the history
auto update
  • Loading branch information
rezarzky authored May 22, 2024
1 parent 0880816 commit bd85df8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/push_to_server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: remote to update
on:
push:
branches:
- main
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 bd85df8

Please sign in to comment.