Update tf_update.yml

This commit is contained in:
PeterNashaat
2022-09-08 14:48:37 +02:00
committed by GitHub
parent b658f5c6c2
commit c67dca56ad

View File

@@ -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