From 8246f966f70a80063ad52fa31258feb56a3d039f Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Wed, 9 Jul 2025 13:52:24 +0300 Subject: [PATCH] remove Github action --- .github/workflows/tf_update_dev.yml | 24 ------------------------ .github/workflows/tf_update_prod.yml | 24 ------------------------ 2 files changed, 48 deletions(-) delete mode 100644 .github/workflows/tf_update_dev.yml delete mode 100644 .github/workflows/tf_update_prod.yml diff --git a/.github/workflows/tf_update_dev.yml b/.github/workflows/tf_update_dev.yml deleted file mode 100644 index 63f100b..0000000 --- a/.github/workflows/tf_update_dev.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: www2.ourworld.tf -on: - push: - branches: [ development ] - -jobs: - job_one: - name: Deploy - runs-on: ubuntu-latest - steps: - - name: pushing latest change on www2.ourworld.tf - uses: appleboy/ssh-action@master - with: - host: www2.ourworld.tf - username: webuser - key: ${{ secrets.TF_SECRET }} - port: 34022 - script: | - cd websites/www2/www_ourworld_tf/ - git log -1 - git fetch - git reset --hard origin/development - sed -i "s/https:\/\/www.ourworld.tf/https:\/\/www2.ourworld.tf/g" config.toml - ./build.sh diff --git a/.github/workflows/tf_update_prod.yml b/.github/workflows/tf_update_prod.yml deleted file mode 100644 index 213593b..0000000 --- a/.github/workflows/tf_update_prod.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: ourworld.tf -on: - push: - branches: [ master ] - -jobs: - job_one: - name: Deploy - runs-on: ubuntu-latest - steps: - - name: pushing latest change on ourworld.tf - uses: appleboy/ssh-action@master - with: - host: ourworld.tf - username: webuser - key: ${{ secrets.TF_SECRET }} - port: 34022 - script: | - cd websites/www_ourworld_tf/ - git log -1 - git fetch - git reset --hard origin/master - sed -i "s/https:\/\/www2.ourworld.tf/https:\/\/ourworld.tf/g" config.toml - ./build.sh