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
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: pushing latest change on www2.ourverse.tf
|
||||
- name: pushing latest change on www.ourverse.tf
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: www2.ourverse.tf
|
||||
host: www.ourverse.tf
|
||||
username: webuser
|
||||
key: ${{ secrets.TF_SECRET }}
|
||||
port: 34022
|
||||
script: |
|
||||
cd /home/webuser/websites/www2/www_ourverse/
|
||||
cd /home/webuser/websites/www_ourverse
|
||||
git log -1
|
||||
git restore static/css/index.css
|
||||
git pull
|
||||
|
Loading…
Reference in New Issue
Block a user