Skip to content

Commit

Permalink
Update sync-tutorials.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AmazingAng committed May 29, 2024
1 parent fe6e452 commit b211c0f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/sync-tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,17 @@ jobs:
path: 'frontend'
fetch-depth: 0 # 确保能获取所有分支和标签

- name: Configure Git
run: git config --get remote.origin.url
working-directory: ./frontend

- name: Sync WTF Ethers Tutorials
run: |
git clone https://github.com/WTFAcademy/WTF-Ethers.git
cp -r WTF-Ethers/0{1..9}_* frontend/docs/ethers-101/
cp -r WTF-Ethers/10_* frontend/docs/ethers-101/
rm -rf WTF-Ethers
working-directory: ./frontend

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
Expand Down

0 comments on commit b211c0f

Please sign in to comment.