From bff2cf08f6244fa4da0909c27a2ac69c2c2fe0e9 Mon Sep 17 00:00:00 2001 From: PeterNashaat Date: Tue, 25 Oct 2022 13:49:40 +0000 Subject: [PATCH 1/3] adding autodeployment --- .github/workflows/tf_update.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tf_update.yml b/.github/workflows/tf_update.yml index 584299f..7bbd0c9 100644 --- a/.github/workflows/tf_update.yml +++ b/.github/workflows/tf_update.yml @@ -8,15 +8,15 @@ jobs: name: Deploy runs-on: ubuntu-latest steps: - - name: pushing latest change on www2.ourverse.tf + - name: pushing latest change on www.ourverse.tf uses: appleboy/ssh-action@master with: - host: www2.ourverse.tf + host: www.ourverse.tf username: webuser key: ${{ secrets.TF_SECRET }} port: 34022 script: | - cd /home/webuser/websites/www2/www_ourverse/ + cd /home/webuser/websites/www_ourverse git log -1 git restore static/css/index.css git pull From 46951b04e8fe2ec0de4b0697e8f60494788292e7 Mon Sep 17 00:00:00 2001 From: PeterNashaat Date: Mon, 2 Jan 2023 12:46:46 +0200 Subject: [PATCH 2/3] Update tf_update.yml --- .github/workflows/tf_update.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tf_update.yml b/.github/workflows/tf_update.yml index 7bbd0c9..36800b7 100644 --- a/.github/workflows/tf_update.yml +++ b/.github/workflows/tf_update.yml @@ -1,7 +1,7 @@ name: ourverse.tf on: push: - branch: [development] + branch: [master] jobs: job_one: @@ -18,6 +18,6 @@ jobs: script: | cd /home/webuser/websites/www_ourverse git log -1 - git restore static/css/index.css + git restore . git pull bash build.sh From 4f9246cf96e88d4964544599661ad63bb5da3bca Mon Sep 17 00:00:00 2001 From: PeterNashaat Date: Mon, 2 Jan 2023 12:51:33 +0200 Subject: [PATCH 3/3] Update .gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 499540b..046786f 100644 --- a/.gitignore +++ b/.gitignore @@ -25,4 +25,5 @@ run* install* public static/css -tailwindcss \ No newline at end of file +tailwindcss +.github