Skip to content

Deploy on Raspberry Pi #9

Deploy on Raspberry Pi

Deploy on Raspberry Pi #9

Workflow file for this run

name: "Deploy on Raspberry Pi"
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy-streamlit:
name: "🚀 Report Generate"
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: "Move files to /opt/streamlit"
run: |
sudo cp -r . /opt/streamlit
sudo cp streamlit.service /etc/systemd/system/streamlit.service
sudo systemctl daemon-reload
sudo systemctl restart streamlit