new logic for reseting local repo

This commit is contained in:
peternashaat
2023-10-26 13:15:27 +00:00
parent 39253cea67
commit cfdde742ff
2 changed files with 4 additions and 4 deletions

View File

@@ -18,8 +18,8 @@ jobs:
script: |
cd /opt/www_threefold_io/
git log -1
git restore .
git pull
git fetch
git reset --hard origin/development
sed -i "s/https:\/\/www.threefold.io/https:\/\/www2.threefold.io/g" config.toml
./build.sh

View File

@@ -18,8 +18,8 @@ jobs:
script: |
cd /opt/www_threefold_io/
git log -1
git restore .
git pull
git fetch
git reset --hard origin/master
sed -i "s/https:\/\/www2.threefold.io/https:\/\/www.threefold.io/g" config.toml
./build.sh