Files
www_threefold_io/.github/workflows/tf_update.yml
2022-04-18 09:40:56 +00:00

23 lines
472 B
YAML

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 log -1
git pull
npm run build