Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
name: Incubaid Production
on:
push:
branches:
- main
jobs:
job_one:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: pushing latest change on www.incubaid.com
uses: appleboy/ssh-action@master
with:
host: www.incubaid.com
username: ${{ secrets.TF_USER }}
key: ${{ secrets.TF_SECRET }}
port: ${{ secrets.TF_PORT }}
script: |
cd websites/www_incubaid_zola/
git log -1
git restore .
git pull
bash build.sh