From a4880d84b2be69d0eee58a833c5d9eac2224227a Mon Sep 17 00:00:00 2001 From: Peter Nashaat Date: Sun, 3 Sep 2023 10:25:11 +0000 Subject: [PATCH] adding auto dep --- .github/workflows/tf_update_dev.yml | 10 +++++----- .github/workflows/tf_update_prod.yml | 10 +++++----- config.toml | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/tf_update_dev.yml b/.github/workflows/tf_update_dev.yml index 63f100b..7e5ae17 100644 --- a/.github/workflows/tf_update_dev.yml +++ b/.github/workflows/tf_update_dev.yml @@ -1,4 +1,4 @@ -name: www2.ourworld.tf +name: www2.freeflow.ourworld.tf on: push: branches: [ development ] @@ -8,17 +8,17 @@ jobs: name: Deploy runs-on: ubuntu-latest steps: - - name: pushing latest change on www2.ourworld.tf + - name: pushing latest change on www2.freeflow.ourworld.tf uses: appleboy/ssh-action@master with: - host: www2.ourworld.tf + host: www2.freeflow.ourworld.tf username: webuser key: ${{ secrets.TF_SECRET }} port: 34022 script: | - cd websites/www2/www_ourworld_tf/ + cd websites/tmp/www_freeflownation/ git log -1 git fetch git reset --hard origin/development - sed -i "s/https:\/\/www.ourworld.tf/https:\/\/www2.ourworld.tf/g" config.toml + sed -i "s/https:\/\/freeflow.ourworld.tf/https:\/\/www2.freeflow.ourworld.tf/g" config.toml ./build.sh diff --git a/.github/workflows/tf_update_prod.yml b/.github/workflows/tf_update_prod.yml index 213593b..73d2310 100644 --- a/.github/workflows/tf_update_prod.yml +++ b/.github/workflows/tf_update_prod.yml @@ -1,4 +1,4 @@ -name: ourworld.tf +name: freeflow.ourworld.tf on: push: branches: [ master ] @@ -8,17 +8,17 @@ jobs: name: Deploy runs-on: ubuntu-latest steps: - - name: pushing latest change on ourworld.tf + - name: pushing latest change on freeflow.ourworld.tf uses: appleboy/ssh-action@master with: - host: ourworld.tf + host: freeflow.ourworld.tf username: webuser key: ${{ secrets.TF_SECRET }} port: 34022 script: | - cd websites/www_ourworld_tf/ + cd websites/tmp/www_freeflownation/ git log -1 git fetch git reset --hard origin/master - sed -i "s/https:\/\/www2.ourworld.tf/https:\/\/ourworld.tf/g" config.toml + sed -i "s/https:\/\/www2.freeflow.ourworld.tf/https:\/\/freeflow.ourworld.tf/g" config.toml ./build.sh diff --git a/config.toml b/config.toml index 41bf7c5..b355389 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,5 @@ # The URL the site will be built for -base_url = "https://www.freeflownation.org" +base_url = "https://freeflow.ourworld.tf" # Change this to your own URL! Please note this variable **must** be uncommented. title = "FreeFlow Nation"