Merge branch 'development_new' of https://github.com/threefoldfoundation/www_jungle_paradise into development_new

This commit is contained in:
Ehab Hassan 2023-08-10 12:18:25 +03:00
commit 3444212c07
3 changed files with 32 additions and 4 deletions

View File

@ -20,6 +20,7 @@ jobs:
script: |
cd websites/www2/www_jungle_paradise/
git log -1
git restore .
git pull
git fetch
git reset --hard origin/development
sed -i "s/https:\/\/jungleparadise.tf/https:\/\/www2.jungleparadise.tf/g" config.toml
bash build.sh

26
.github/workflows/tf_update_dev_new.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: Jungleparadise Staging
on:
push:
branches:
- development_new
jobs:
job_one:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: pushing latest change on www3.jungleparadise.tf
uses: appleboy/ssh-action@master
with:
host: www3.jungleparadise.tf
username: ${{ secrets.TF_USER }}
key: ${{ secrets.TF_SECRET }}
port: ${{ secrets.TF_PORT }}
script: |
cd websites/www3/www_jungle_paradise/
git log -1
git fetch
git reset --hard origin/development_new
sed -i "s/https:\/\/www2.jungleparadise.tf/https:\/\/www3.jungleparadise.tf/g" config.toml
bash build.sh

View File

@ -20,6 +20,7 @@ jobs:
script: |
cd websites/www_jungle_paradise/
git log -1
git restore .
git pull
git fetch
git reset --hard origin/master
sed -i "s/https:\/\/www2.jungleparadise.tf/https:\/\/jungleparadise.tf/g" config.toml
bash build.sh