Update tf_update.yml
This commit is contained in:
5
.github/workflows/tf_update.yml
vendored
5
.github/workflows/tf_update.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
name: Threefold_io
|
name: Threefold_io
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branch: [ development ]
|
branch: [ master ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
job_one:
|
job_one:
|
||||||
@@ -11,7 +11,7 @@ jobs:
|
|||||||
- name: pushing latest change on www2.threefold.io
|
- name: pushing latest change on www2.threefold.io
|
||||||
uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@master
|
||||||
with:
|
with:
|
||||||
host: www2.threefold.io
|
host: www.threefold.io
|
||||||
username: root
|
username: root
|
||||||
key: ${{ secrets.TF_SECRET }}
|
key: ${{ secrets.TF_SECRET }}
|
||||||
port: 22
|
port: 22
|
||||||
@@ -21,6 +21,5 @@ jobs:
|
|||||||
git restore config.toml
|
git restore config.toml
|
||||||
git restore static/css/index.css
|
git restore static/css/index.css
|
||||||
git pull
|
git pull
|
||||||
sed -i "s/https:\/\/threefoldfoundation.github.io\/www_threefold_io/https:\/\/www2.threefold.io/g" config.toml
|
|
||||||
./build.sh
|
./build.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user