-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 1013 Bytes
/
update.yml
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
34
35
36
37
38
name: Update
on:
workflow_dispatch:
push:
jobs:
update:
name: Update Content
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
run_install: false
version: 8
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: pnpm
- name: Install Dependencies
run: pnpm install --ignore-scripts
- name: Run Script
run: pnpm script:run
- name: Automatically Commit Changed
uses: stefanzweifel/git-auto-commit-action@v4
with:
push_options: "--force"
commit_options: "--no-verify"
commit_message: "chore(script): update content"
skip_checkout: true