Flux Update Schedule Check #20
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: Flux Update Schedule Check | |
on: | |
schedule: | |
- cron: '0 12 * * SUN' | |
jobs: | |
flux-schedule-check: | |
if: github.ref == 'refs/heads/main' | |
name: Flux Update Schedule Check | |
runs-on: | |
- self-hosted | |
- small | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }} | |
- name: Setup asdf | |
uses: asdf-vm/actions/setup@v2 | |
env: | |
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check for Flux update | |
env: | |
GH_TOKEN: ${{ secrets.MESOSPHERECI_USER_TOKEN }} | |
run: make KOMMANDER_REPO_PATH=${GITHUB_WORKSPACE}/kommander make flux-update |