Skip to content

feat: add CICD

feat: add CICD #1

Workflow file for this run

name: Deploy to my Raspberry Pi
on:
push:
branches:
- main
jobs:
Deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to my Raspberry Pi
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
script_stop: true
script: |
cd /apps/bookmarket
git pull origin main
docker compose down
docker compose up -d --build