adding auto dep

This commit is contained in:
Peter Nashaat 2023-09-03 10:25:11 +00:00
parent 8fb1c3dad3
commit a4880d84b2
3 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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"