Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rvtr authored Oct 9, 2024
1 parent 4b49398 commit 2b3b98e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: update server
run-name: Update locally hosted server
on: [push]
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: SSH
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
port: 22
script: |
cd /var/www
./build_site.sh shop

0 comments on commit 2b3b98e

Please sign in to comment.