Skip to content

更新 linkfix.yml

更新 linkfix.yml #2

Workflow file for this run

name: linkfix
on:
workflow_dispatch
push:

Check failure on line 4 in .github/workflows/linkfix.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/linkfix.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
paths:
- 教程/示例代码/**
jobs:
m2p:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v5
- name: Checkout
uses: actions/checkout@v4
with:
ref: gh-pages
- name: Fix and Push
run: |
git config user.name "Mdr-C-Tutorial"
git config user.email "[email protected]"
cd ./教程/示例代码
python linkfix.py
git add .
git commit -m "linkfix"
git push