mirror of
https://github.com/GradienceTeam/Community.git
synced 2024-07-05 04:17:55 +00:00
33 lines
902 B
YAML
33 lines
902 B
YAML
name: Update from gradience-presets org
|
|
on:
|
|
push:
|
|
branches: [ "next" ]
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
- cron: '0 * * * *'
|
|
|
|
|
|
jobs:
|
|
update:
|
|
# The type of runner that the job will run on
|
|
runs-on: ubuntu-latest
|
|
|
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
steps:
|
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
|
- uses: actions/checkout@v3
|
|
|
|
# Runs a single command using the runners shell
|
|
- name: Run a one-line script
|
|
run: ./scripts/update.sh
|
|
|
|
- name: Commmit
|
|
run: |
|
|
git config user.name "GradienceBot"
|
|
git config user.email "AdwCustomizerTeam@proton.me"
|
|
git add .
|
|
# added | true so, the worklow will not fail if there is nothing to committ
|
|
git commit -m "ci: update presets for their repo" | true
|