0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-17 11:55:08 +01:00
nextcloud-docker/.github/workflows/update-sh.yml
Arne Tarara 432821910f
Merge remote-tracking branch 'upstream/master'
* upstream/master:
  fix(README): Point help seekers to forum first
  Bump to 28.0.5
  Runs update.sh
  Remove 26 (#2205)
  Runs update.sh
  Drop Nextcloud 26
  Runs update.sh
  Typo
  Bump to 28.0.4
  Runs update.sh
  Update GitHub Actions (#2170)
2024-05-09 20:18:03 +02:00

29 lines
693 B
YAML

name: update.sh
on:
# push:
# branches:
# - master
# schedule:
# - cron: '15 0 * * *'
workflow_dispatch:
jobs:
run_update_sh:
name: Run update.sh script
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run update.sh script
run: ./update.sh
- name: Commit files
run: |
git config --local user.email "workflow@github.com"
git config --local user.name "GitHub Workflow"
git add -A
git commit -m "Runs update.sh" || echo "Nothing to update"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true