Skip to content

创建自动同步预览版的action #1

创建自动同步预览版的action

创建自动同步预览版的action #1

Workflow file for this run

# 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