-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (36 loc) · 1.17 KB
/
star-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
39
40
41
name: Update some list
on:
push:
branches:
- main
workflow_dispatch:
schedule:
# Execute every week at 0:00 CST (UTC+8), which is 16:00 UTC on the previous day
- cron: '0 0 * * 5' # This runs at 0:00 UTC on Friday, which is 8:00 CST on Friday
watch:
types: [started]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: some generator
uses: simonecorsi/[email protected]
with:
api-token: ${{ secrets.PERSONAL_TOKEN }}
github-email: ${{ secrets.USER_EMAIL }}
template-path: "template/README.ejs"
github-name: ${{ github.repository_owner }}
- name: Install Wrangler CLI
run: npm install -g wrangler
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.PERSONAL_TOKEN }}
publish_dir: ./ # 发布根目录内容
# - name: Publish to Cloudflare Workers
# env:
# CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
# CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
# run:
# wrangler deploy