Skip to content

2024-02-08 update

2024-02-08 update #4

Workflow file for this run

name: Run Local Script
on:
push:
branches:
- main
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11.5' # 根据需要更改 Python 版本
- name: Install dependencies
run: |
pip install -r requirements.txt # 假设所有Python依赖都在requirements.txt文件中
- name: Make script executable
run: chmod +x ./scripts/deploy.sh
- name: Run the script
run: bash ./scripts/deploy.sh