From 2f54bc6d1258161cb728154c9313daa800534d79 Mon Sep 17 00:00:00 2001 From: peter nashaat Date: Mon, 18 Apr 2022 09:35:20 +0000 Subject: [PATCH] adding github action support for zola branch only --- .github/workflows/tf_update.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/tf_update.yml diff --git a/.github/workflows/tf_update.yml b/.github/workflows/tf_update.yml new file mode 100644 index 000000000..a37e37377 --- /dev/null +++ b/.github/workflows/tf_update.yml @@ -0,0 +1,22 @@ +name: Threefold_io +on: + push: + branch: [ zola_development ] + +jobs: + job_one: + name: Deploy + runs-on: ubuntu-latest + steps: + - name: pushing latest change on www3.threefold.io + uses: appleboy/ssh-action@master + with: + host: www3.threefold.io + username: root + key: ${{ secrets.TF_SECRET }} + port: 22 + script: | + cd /opt/www_threefold_io/ + git pull + git log -1 + git status