This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
merging to development #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Incubaid Staging | |
on: | |
push: | |
branches: | |
- development | |
jobs: | |
job_one: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: pushing latest change on www2.incubaid.com | |
uses: appleboy/ssh-action@master | |
with: | |
host: www2.incubaid.com | |
username: ${{ secrets.TF_USER }} | |
key: ${{ secrets.TF_SECRET }} | |
port: ${{ secrets.TF_PORT }} | |
script: | | |
cd websites/www2/www_incubaid_zola/ | |
git log -1 | |
git restore . | |
git pull | |
bash build.sh |