Skip to content

Commit

Permalink
Remove cron deploy from ci.yml (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair authored Feb 20, 2025
2 parents 09c4b02 + 45a54a2 commit e0e2aa7
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions {{ cookiecutter.package_name }}/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ on:
pull_request:
# Allow manual runs through the web UI
workflow_dispatch:
schedule:
# ┌───────── minute (0 - 59)
# │ ┌───────── hour (0 - 23)
# │ │ ┌───────── day of the month (1 - 31)
# │ │ │ ┌───────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────── day of the week (0 - 6 or SUN-SAT)
- cron: '0 7 * * 3' # Every Wed at 07:00 UTC

concurrency:
group: {{ '${{ github.workflow }}-${{ github.ref }}' }}
Expand Down Expand Up @@ -56,6 +63,7 @@ jobs:
- windows: py311
- macos: py310
- linux: py310-oldestdeps
- linux: py311-devdeps
secrets:
CODECOV_TOKEN: {{ '${{ secrets.CODECOV_TOKEN }}' }}

Expand All @@ -73,23 +81,6 @@ jobs:
envs: |
- linux: build_docs
cron:
if: |
github.event_name == 'workflow_dispatch' || (
github.event_name == 'pull_request' &&
contains(github.event.pull_request.labels.*.name, 'Run cron CI')
)
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
default_python: '{{ default_python }}'
submodules: false
coverage: codecov
toxdeps: tox-pypi-filter
envs: |
- linux: py311-devdeps
secrets:
CODECOV_TOKEN: {{ '${{ secrets.CODECOV_TOKEN }}' }}

publish:
# Build wheels on PRs only when labelled. Releases will only be published if tagged ^v.*
# see https://github-actions-workflows.openastronomy.org/en/latest/publish.html#upload-to-pypi
Expand Down

0 comments on commit e0e2aa7

Please sign in to comment.