-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (33 loc) · 1.13 KB
/
update_list.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 List
on:
schedule:
- cron: "0 9 * * *"
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "16"
- name: Install Dependencies
run: npm install
- name: Run Build & Start
run: npm run build & npm run start
env:
client_id: ${{ secrets.CLIENT_ID }}
user: ${{ secrets.USER }}
pass: ${{ secrets.PASS }}
- name: Automatically Commit Changed
uses: stefanzweifel/git-auto-commit-action@v4
with:
push_options: "--force"
commit_options: "--no-verify"
commit_message: "[Bot] Update List"
commit_user_name: GitHub Actions
commit_user_email: [email protected]
commit_author: GitHub Actions <[email protected]>
skip_checkout: true