Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
创建自动替换文本
Browse files Browse the repository at this point in the history
  • Loading branch information
vlssu committed Nov 7, 2023
1 parent 7f7d74b commit 7accb7a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/Text_replace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: 文本替换

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Find and Replace 1
uses: thiagodnf/[email protected]
with:
find: "ghcr.io\\/parkervcp"
replace: "registry.cn-shanghai.aliyuncs.com\\/pterodactyl-images"
include: |
**/*.json
- name: Find and Replace 2
uses: thiagodnf/[email protected]
with:
find: "ghcr.io\\/pterodactyl"
replace: "registry.cn-shanghai.aliyuncs.com\\/pterodactyl-china"
include: |
**/*.json
- name: Find and Replace 3
uses: thiagodnf/[email protected]
with:
find: "quay.io"
replace: "quay.dockerproxy.com"
include: |
**/*.json

0 comments on commit 7accb7a

Please sign in to comment.