Skip to content

Commit 50dabbc

Browse files
创建自动同步预览版的action
1 parent 6011e8e commit 50dabbc

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/blank.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Upgrade Jsdelivr Mirrors
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the "master" branch
8+
push:
9+
branches: [ "master", "develop" ]
10+
workflow_dispatch:
11+
12+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
13+
jobs:
14+
# This workflow contains a single job called "build"
15+
upgrade_master:
16+
# The type of runner that the job will run on
17+
runs-on: ubuntu-latest
18+
19+
# Steps represent a sequence of tasks that will be executed as part of the job
20+
steps:
21+
- name: upgrade
22+
run: curl https://purge.jsdelivr.net/gh/d0j1a1701/argon-luogu@master/argon-luogu.user.styl
23+
upgrade_develop:
24+
# The type of runner that the job will run on
25+
runs-on: ubuntu-latest
26+
27+
# Steps represent a sequence of tasks that will be executed as part of the job
28+
steps:
29+
- name: upgrade
30+
run: curl https://purge.jsdelivr.net/gh/d0j1a1701/argon-luogu@develop/argon-luogu.user.styl

0 commit comments

Comments
 (0)