mirror of
https://github.com/nextcloud/docker.git
synced 2025-01-23 06:03:54 +01:00
c66b03b8c6
* 🩹 fix deprecation warning: Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@master Using version v3, latest or master: actions/checkout#689 Signed-off-by: Thomas Merz <git@rhoenwurz.de> * Update .github/workflows/update-sh.yml Co-authored-by: J0WI <J0WI@users.noreply.github.com> Signed-off-by: thomasmerz <thomasmerz@users.noreply.github.com> Signed-off-by: Thomas Merz <git@rhoenwurz.de> Signed-off-by: thomasmerz <thomasmerz@users.noreply.github.com> Co-authored-by: J0WI <J0WI@users.noreply.github.com>
29 lines
683 B
YAML
29 lines
683 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@v3
|
|
- 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
|