mirror of
https://github.com/vinta/awesome-python.git
synced 2026-05-28 12:15:48 +08:00
ci: always run tests and simplify branches syntax in deploy workflow
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -2,8 +2,7 @@ name: Deploy Website
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [master]
|
||||||
- master
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * *"
|
- cron: "0 0 * * *"
|
||||||
|
|
||||||
@@ -34,7 +33,6 @@ jobs:
|
|||||||
run: uv sync --group build
|
run: uv sync --group build
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
if: github.event_name != 'schedule'
|
|
||||||
run: make test
|
run: make test
|
||||||
|
|
||||||
- name: Get date
|
- name: Get date
|
||||||
|
|||||||
Reference in New Issue
Block a user