You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
799 B
29 lines
799 B
11 months ago
|
name: Update theme
|
||
|
|
||
|
# Controls when the workflow will run
|
||
|
on:
|
||
|
schedule:
|
||
|
# Update theme automatically everyday at 00:00 UTC
|
||
|
- cron: "0 0 * * *"
|
||
|
# Allows you to run this workflow manually from the Actions tab
|
||
|
workflow_dispatch:
|
||
|
|
||
|
jobs:
|
||
|
Update-FixIt:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Check out repository code
|
||
|
uses: actions/checkout@v3
|
||
|
with:
|
||
|
submodules: true
|
||
|
fetch-depth: 0
|
||
|
|
||
|
- name: Update theme
|
||
|
run: git submodule update --remote --merge themes/FixIt
|
||
|
|
||
|
- name: Commit changes
|
||
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||
|
with:
|
||
|
commit_message: ':arrow_up: Chore(theme): update FixIt version'
|
||
|
commit_author: 'github-actions[bot] <github-actions[bot]@users.noreply.github.com>'
|