Auto-update Caddy version #103
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: Auto-update Caddy version | |
on: | |
schedule: | |
- cron: '17 9 * * *' | |
workflow_dispatch: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Run script | |
id: caddy-update | |
shell: bash | |
run: bash "${GITHUB_WORKSPACE}/scripts/caddy-update.sh" | |
- name: Commit | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: "Dockerfile" | |
default_author: user_info | |
message: "Update Caddy to ${{ steps.caddy-update.outputs.LATEST_CADDY_VERSION }}" |