forked from duniayetu/www_duniayetu
delete webhosting
This commit is contained in:
parent
3136a9a99f
commit
2f185faaa0
24
.github/workflows/tf_update_dev.yml
vendored
24
.github/workflows/tf_update_dev.yml
vendored
@ -1,24 +0,0 @@
|
||||
name: www2.freezone.ourworld.tf
|
||||
on:
|
||||
push:
|
||||
branches: [ development ]
|
||||
|
||||
jobs:
|
||||
job_one:
|
||||
name: Deploy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: pushing latest change on www2.freezone.ourworld.tf
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: www2.freezone.ourworld.tf
|
||||
username: ${{ secrets.TF_USER }}
|
||||
key: ${{ secrets.TF_SECRET }}
|
||||
port: ${{ secrets.TF_PORT }}
|
||||
script: |
|
||||
cd websites/www2/www_ourworld_freezone/
|
||||
git log -1
|
||||
git fetch
|
||||
git reset --hard origin/development
|
||||
sed -i "s/https:\/\/freezone.ourworld.tf/https:\/\/www2.freezone.ourworld.tf/g" config.toml
|
||||
./build.sh
|
24
.github/workflows/tf_update_prod.yml
vendored
24
.github/workflows/tf_update_prod.yml
vendored
@ -1,24 +0,0 @@
|
||||
name: freezone.ourworld.tf
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
job_one:
|
||||
name: Deploy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: pushing latest change on freezone.ourworld.tf
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: freezone.ourworld.tf
|
||||
username: ${{ secrets.TF_USER }}
|
||||
key: ${{ secrets.TF_SECRET }}
|
||||
port: ${{ secrets.TF_PORT }}
|
||||
script: |
|
||||
cd websites/www_ourworld_freezone/
|
||||
git log -1
|
||||
git fetch
|
||||
git reset --hard origin/master
|
||||
sed -i "s/https:\/\/www2.freezone.ourworld.tf/https:\/\/freezone.ourworld.tf/g" config.toml
|
||||
./build.sh
|
Loading…
Reference in New Issue
Block a user