This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
Merge pull request #30839 from lujun9972/add-MjAyNDAxMjYgSW5zaWRlIC5n… #9260
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: LCTT Article Badge | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: checkout old pages branch | |
uses: actions/checkout@v2 | |
with: | |
repository: lctt/translateproject | |
path: build | |
ref: gh-pages | |
- name: remove pages .git | |
run: rm -rf ./build/.git | |
- name: run badge | |
run: sh ./scripts/badge.sh; | |
- uses: crazy-max/[email protected] | |
with: | |
build_dir: ./build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |