Merge branch 'development_new' of https://github.com/threefoldfoundation/www_jungle_paradise into development_new
This commit is contained in:
commit
3444212c07
5
.github/workflows/tf_update_dev.yml
vendored
5
.github/workflows/tf_update_dev.yml
vendored
@ -20,6 +20,7 @@ jobs:
|
|||||||
script: |
|
script: |
|
||||||
cd websites/www2/www_jungle_paradise/
|
cd websites/www2/www_jungle_paradise/
|
||||||
git log -1
|
git log -1
|
||||||
git restore .
|
git fetch
|
||||||
git pull
|
git reset --hard origin/development
|
||||||
|
sed -i "s/https:\/\/jungleparadise.tf/https:\/\/www2.jungleparadise.tf/g" config.toml
|
||||||
bash build.sh
|
bash build.sh
|
||||||
|
26
.github/workflows/tf_update_dev_new.yml
vendored
Normal file
26
.github/workflows/tf_update_dev_new.yml
vendored
Normal 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
|
5
.github/workflows/tf_update_prod.yml
vendored
5
.github/workflows/tf_update_prod.yml
vendored
@ -20,6 +20,7 @@ jobs:
|
|||||||
script: |
|
script: |
|
||||||
cd websites/www_jungle_paradise/
|
cd websites/www_jungle_paradise/
|
||||||
git log -1
|
git log -1
|
||||||
git restore .
|
git fetch
|
||||||
git pull
|
git reset --hard origin/master
|
||||||
|
sed -i "s/https:\/\/www2.jungleparadise.tf/https:\/\/jungleparadise.tf/g" config.toml
|
||||||
bash build.sh
|
bash build.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user