This repository has been archived on 2025-06-11. You can view files and clone it, but cannot push or open issues or pull requests.
www_ow_freezone/.github/workflows/tf_update.yml
2022-05-24 09:27:38 +00:00

24 lines
499 B
YAML

name: Ourworld.tf
on:
push:
branch: [ master ]
jobs:
job_one:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: pushing latest change on www.ourworld.tf
uses: appleboy/ssh-action@master
with:
host: www.ourworld.tf
username: root
key: ${{ secrets.TF_SECRET }}
port: 22
script: |
cd /opt/www_ourworld_tf/
git log -1
git restore static/css/index.css
git pull
npm run build