Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

線形回帰モデルを使用して目標値に到達する日付を特定するロジックを実装し、ARIMAモデルの使用を削除 #19

線形回帰モデルを使用して目標値に到達する日付を特定するロジックを実装し、ARIMAモデルの使用を削除

線形回帰モデルを使用して目標値に到達する日付を特定するロジックを実装し、ARIMAモデルの使用を削除 #19

Workflow file for this run

name: Update and Restart Service
on:
push:
branches:
- main # mainブランチが更新されたときに実行
jobs:
update-and-restart:
runs-on: self-hosted
steps:
# リポジトリのディレクトリに移動して更新
- name: Pull latest changes
run: |
cd /home/adminpi/Swiftly-bot
if [ -d ".git" ]; then
git reset --hard
git pull origin main
else
git clone https://github.com/techfish-11/Swiftly-bot.git /home/adminpi/Swiftly-bot
fi
# systemdサービスを再起動
- name: Restart systemd service
run: |
sudo systemctl restart swiftly-bot.service