Generate Daily Sudoku Boards #289
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: Generate Daily Sudoku Boards | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' # Run every day at 12 AM UTC | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Build Sudoku Generator | |
run: docker build -t sudoku_generator:latest ./sudoku_generator | |
- name: Run Dockerfile Logic | |
run: docker run --rm -e POCKETBASE_ADMIN=${{ secrets.POCKETBASE_ADMIN }} -e POCKETBASE_PASSWORD=${{ secrets.POCKETBASE_PASSWORD }} sudoku_generator:latest |