Cron jobs #409
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: Cron jobs | |
on: | |
schedule: | |
# Every day at 1am | |
- cron: '0 1 * * *' | |
workflow_dispatch: | |
jobs: | |
remove-CI-deployments: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: renku teardown | |
uses: SwissDataScienceCenter/renku-actions/[email protected] | |
env: | |
GITLAB_TOKEN: ${{ secrets.DEV_GITLAB_TOKEN }} | |
RENKUBOT_KUBECONFIG: ${{ secrets.RENKUBOT_DEV_KUBECONFIG }} | |
MAX_AGE_SECONDS: 604800 | |
DELETE_NAMESPACE: "false" |