adding autodeployment
This commit is contained in:
parent
3c76eb1b70
commit
bff2cf08f6
6
.github/workflows/tf_update.yml
vendored
6
.github/workflows/tf_update.yml
vendored
@ -8,15 +8,15 @@ jobs:
|
|||||||
name: Deploy
|
name: Deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: pushing latest change on www2.ourverse.tf
|
- name: pushing latest change on www.ourverse.tf
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@master
|
||||||
with:
|
with:
|
||||||
host: www2.ourverse.tf
|
host: www.ourverse.tf
|
||||||
username: webuser
|
username: webuser
|
||||||
key: ${{ secrets.TF_SECRET }}
|
key: ${{ secrets.TF_SECRET }}
|
||||||
port: 34022
|
port: 34022
|
||||||
script: |
|
script: |
|
||||||
cd /home/webuser/websites/www2/www_ourverse/
|
cd /home/webuser/websites/www_ourverse
|
||||||
git log -1
|
git log -1
|
||||||
git restore static/css/index.css
|
git restore static/css/index.css
|
||||||
git pull
|
git pull
|
||||||
|
Loading…
Reference in New Issue
Block a user