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