changing domain name

This commit is contained in:
petep 2023-08-06 09:02:56 +00:00
parent 2f69812b08
commit cefc71c36c
3 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
name: www2.ourzone.ourworld.tf name: www2.freezone.ourworld.tf
on: on:
push: push:
branches: [ development ] branches: [ development ]
@ -8,10 +8,10 @@ jobs:
name: Deploy name: Deploy
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: pushing latest change on www2.ourzone.ourworld.tf - name: pushing latest change on www2.freezone.ourworld.tf
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@master
with: with:
host: www2.ourzone.ourworld.tf host: www2.freezone.ourworld.tf
username: webuser username: webuser
key: ${{ secrets.TF_SECRET }} key: ${{ secrets.TF_SECRET }}
port: 34022 port: 34022
@ -20,5 +20,5 @@ jobs:
git log -1 git log -1
git fetch git fetch
git reset --hard origin/development git reset --hard origin/development
sed -i "s/https:\/\/ourzone.ourworld.tf/https:\/\/www2.ourzone.ourworld.tf/g" config.toml sed -i "s/https:\/\/freezone.ourworld.tf/https:\/\/www2.freezone.ourworld.tf/g" config.toml
./build.sh ./build.sh

View File

@ -1,4 +1,4 @@
name: ourzone.ourworld.tf name: freezone.ourworld.tf
on: on:
push: push:
branches: [ master ] branches: [ master ]
@ -8,10 +8,10 @@ jobs:
name: Deploy name: Deploy
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: pushing latest change on ourzone.ourworld.tf - name: pushing latest change on freezone.ourworld.tf
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@master
with: with:
host: ourzone.ourworld.tf host: freezone.ourworld.tf
username: webuser username: webuser
key: ${{ secrets.TF_SECRET }} key: ${{ secrets.TF_SECRET }}
port: 34022 port: 34022
@ -20,5 +20,5 @@ jobs:
git log -1 git log -1
git fetch git fetch
git reset --hard origin/master git reset --hard origin/master
sed -i "s/https:\/\/www2.ourzone.ourworld.tf/https:\/\/ourzone.ourworld.tf/g" config.toml sed -i "s/https:\/\/www2.freezone.ourworld.tf/https:\/\/freezone.ourworld.tf/g" config.toml
./build.sh ./build.sh

View File

@ -1,5 +1,5 @@
# The URL the site will be built for # The URL the site will be built for
base_url = "https://www2.ourzone.ourworld.tf/" base_url = "https://www2.freezone.ourworld.tf/"
# Change this to your own URL! Please note this variable **must** be uncommented. # Change this to your own URL! Please note this variable **must** be uncommented.
title = "OurWorld Digital Free Zone" title = "OurWorld Digital Free Zone"