new logic for reseting local repo
This commit is contained in:
4
.github/workflows/tf_update_dev.yml
vendored
4
.github/workflows/tf_update_dev.yml
vendored
@@ -18,8 +18,8 @@ jobs:
|
|||||||
script: |
|
script: |
|
||||||
cd /opt/www_threefold_io/
|
cd /opt/www_threefold_io/
|
||||||
git log -1
|
git log -1
|
||||||
git restore .
|
git fetch
|
||||||
git pull
|
git reset --hard origin/development
|
||||||
sed -i "s/https:\/\/www.threefold.io/https:\/\/www2.threefold.io/g" config.toml
|
sed -i "s/https:\/\/www.threefold.io/https:\/\/www2.threefold.io/g" config.toml
|
||||||
./build.sh
|
./build.sh
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/tf_update_prod.yml
vendored
4
.github/workflows/tf_update_prod.yml
vendored
@@ -18,8 +18,8 @@ jobs:
|
|||||||
script: |
|
script: |
|
||||||
cd /opt/www_threefold_io/
|
cd /opt/www_threefold_io/
|
||||||
git log -1
|
git log -1
|
||||||
git restore .
|
git fetch
|
||||||
git pull
|
git reset --hard origin/master
|
||||||
sed -i "s/https:\/\/www2.threefold.io/https:\/\/www.threefold.io/g" config.toml
|
sed -i "s/https:\/\/www2.threefold.io/https:\/\/www.threefold.io/g" config.toml
|
||||||
./build.sh
|
./build.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user