Skip to content

Commit 9db2381

Browse files
committed
ci(github-actions): add GitHub Actions workflow to generate CSS files weekly
1 parent 1c8abb4 commit 9db2381

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: GitHub Markdown CSS
2+
on:
3+
# weekly
4+
schedule:
5+
- cron: "0 0 * * *"
6+
push:
7+
branches:
8+
- main
9+
pull_request:
10+
branches:
11+
- main
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
test:
18+
name: generate
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Setup Node environment
22+
uses: actions/setup-node@v3
23+
24+
- name: Checkout
25+
uses: actions/checkout@v3
26+
with:
27+
ref: ${{ github.head_ref }}
28+
29+
- name: Generate CSS
30+
run: sh generate.sh
31+
32+
- name: Commit changes
33+
uses: stefanzweifel/git-auto-commit-action@v4
34+
with:
35+
commit_message: "build: generate GitHub Markdown CSS"
36+
commit_option: "--signoff"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy