CI/CD #475
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: CI/CD | |
on: | |
schedule: | |
# 避开高峰时间 | |
- cron: "9 9 * * 0" | |
# 允许手动运行 | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
cd $GITHUB_WORKSPACE | |
chmod +x ./build.sh | |
./build.sh |