Files
Colinx-Blog/.github/workflows/CDN-URL.yaml
dependabot[bot] 018573ce6f build(deps): bump jacobtomlinson/gha-find-replace from 2.0.0 to 3.0.5
Bumps [jacobtomlinson/gha-find-replace](https://github.com/jacobtomlinson/gha-find-replace) from 2.0.0 to 3.0.5.
- [Release notes](https://github.com/jacobtomlinson/gha-find-replace/releases)
- [Commits](https://github.com/jacobtomlinson/gha-find-replace/compare/2.0.0...3.0.5)

---
updated-dependencies:
- dependency-name: jacobtomlinson/gha-find-replace
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 06:15:01 +00:00

35 lines
919 B
YAML

name: Check and correct img CDN URLs
on:
push:
branches: [master]
# pull_request:
# branches: [master]
jobs:
check-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Find and Replace Release
uses: jacobtomlinson/gha-find-replace@3.0.5
with:
find: "blog-1301127393.cos.ap-shanghai.myqcloud.com"
replace: "blog-1301127393.file.myqcloud.com"
include: "**/*.md"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Change img CDN URL"
title: "Update imgs' CDN URL"
labels: "URL"
base: "master"
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
branch: "update-img-url"
body: "Some imgs' URL need to be updated."