Skip to content

Commit

Permalink
创建自动同步预览版的action
Browse files Browse the repository at this point in the history
  • Loading branch information
songxingling1 authored Oct 9, 2024
1 parent 6011e8e commit 50dabbc
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This is a basic workflow to help you get started with Actions

name: Upgrade Jsdelivr Mirrors

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master", "develop" ]
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
upgrade_master:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: upgrade
run: curl https://purge.jsdelivr.net/gh/d0j1a1701/argon-luogu@master/argon-luogu.user.styl
upgrade_develop:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: upgrade
run: curl https://purge.jsdelivr.net/gh/d0j1a1701/argon-luogu@develop/argon-luogu.user.styl

0 comments on commit 50dabbc

Please sign in to comment.