adding auto deployment to dev branch
This commit is contained in:
parent
832af9305b
commit
fb567fb3ec
44
.github/workflows/tf_update._yml
vendored
44
.github/workflows/tf_update._yml
vendored
@ -1,23 +1,23 @@
|
|||||||
# name: Threefold_io
|
name: ourverse.tf
|
||||||
# on:
|
on:
|
||||||
# push:
|
push:
|
||||||
# branch: [ development ]
|
branch: [ development ]
|
||||||
|
|
||||||
# jobs:
|
jobs:
|
||||||
# job_one:
|
job_one:
|
||||||
# name: Deploy
|
name: Deploy
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# steps:
|
steps:
|
||||||
# - name: pushing latest change on www2.threefold.io
|
- name: pushing latest change on www2.ourverse.tf
|
||||||
# uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@master
|
||||||
# with:
|
with:
|
||||||
# host: www2.threefold.io
|
host: www2.ourverse.tf
|
||||||
# username: root
|
username: root
|
||||||
# key: ${{ secrets.TF_SECRET }}
|
key: ${{ secrets.TF_SECRET }}
|
||||||
# port: 22
|
port: 22
|
||||||
# script: |
|
script: |
|
||||||
# cd /opt/www_threefold_io/
|
cd /opt/www_ourverse/
|
||||||
# git log -1
|
git log -1
|
||||||
# git restore static/css/index.css
|
git restore static/css/index.css
|
||||||
# git pull
|
git pull
|
||||||
# npm run build
|
npm run build
|
||||||
|
Loading…
Reference in New Issue
Block a user