-
-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (28 loc) · 792 Bytes
/
styles.yml
File metadata and controls
33 lines (28 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Styles
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
contributors:
permissions:
contents: write
runs-on: ubuntu-latest
name: Update styles
steps:
- name: Checkout
uses: actions/checkout@v6
with:
token: ${{ secrets.MAINTAINER_TOKEN }}
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 'latest'
- name: Update Styles
run: ./scripts/generate.sh
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: "style: update styles"
commit_author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
file_pattern: 'styles'