Files
2026-11-21 09:08:34 +00:00

28 lines
731 B
YAML

name: autoupdate
on:
schedule:
- cron: '0 */6 * * *'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
container:
image: data.forgejo.org/oci/node:20-bookworm
steps:
- name: Install tools
run: apt-get update -qq && apt-get install -y -qq jq
- uses: actions/checkout@v4
- name: Update manifest
run: tr -d '\r' < scripts/update-mornye.sh | bash
- name: Commit and push
run: |
git config user.name "autoupdate"
git config user.email "[email protected]"
if ! git diff --quiet; then
git commit -am "mornye: update to $(jq -r .version bucket/mornye.json)"
git push
fi