mirror of
https://github.com/rvtr/debug-dsi-shop.git
synced 2025-10-31 06:01:07 -04:00
Create main.yml
This commit is contained in:
parent
4b49398075
commit
2b3b98ed84
18
.github/workflows/main.yml
vendored
Normal file
18
.github/workflows/main.yml
vendored
Normal file
@ -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/ssh-action@v1.1.0
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.SERVER_HOST }}
|
||||||
|
username: ${{ secrets.SERVER_USERNAME }}
|
||||||
|
password: ${{ secrets.SERVER_PASSWORD }}
|
||||||
|
port: 22
|
||||||
|
script: |
|
||||||
|
cd /var/www
|
||||||
|
./build_site.sh shop
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user