adding new domain

This commit is contained in:
petep 2023-07-13 07:16:46 +00:00
parent 75bfe0322b
commit fb874e170f
3 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
name: www2.ourphone.ourworld.tf name: www2.ourphone.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.ourphone.ourworld.tf - name: pushing latest change on www2.ourphone.tf
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@master
with: with:
host: www2.ourphone.ourworld.tf host: www2.ourphone.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 restore . git restore .
git pull git pull
sed -i "s/https:\/\/ourphone.ourworld.tf/https:\/\/www2.ourphone.ourworld.tf/g" config.toml sed -i "s/https:\/\/ourphone.tf/https:\/\/www2.ourphone.tf/g" config.toml
./build.sh ./build.sh

View File

@ -1,4 +1,4 @@
name: ourphone.ourworld.tf name: ourphone.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 ourphone.ourworld.tf - name: pushing latest change on ourphone.tf
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@master
with: with:
host: ourphone.ourworld.tf host: ourphone.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 restore . git restore .
git pull git pull
sed -i "s/https:\/\/www2.ourphone.ourworld.tf/https:\/\/ourphone.ourworld.tf/g" config.toml sed -i "s/https:\/\/ourphone.tf/https:\/\/ourphone.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://ourphone.ourworld.tf/" base_url = "https://ourphone.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 = "OurPhone" title = "OurPhone"