Skip to content

更新 m2p.yml

更新 m2p.yml #12

Workflow file for this run

name: main to gh-pages
on:
push:
branches:
- main
jobs:
m2p:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Clone,Merge and Push
run: |
git clone https://github.com/Mdr-C-Tutorial/C.git
cd C

Check failure on line 15 in .github/workflows/m2p.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/m2p.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
git checkout gh-pages
git merge main -m "sync from branch main"
git push