Skip to content

Update README.md (#349) #312

Update README.md (#349)

Update README.md (#349) #312

Workflow file for this run

name: Count Signature Number
on: push
jobs:
count:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup S.C.
id: sc-dl
run: |
wget "https://github.com/LGBT-CN/signature-counter/releases/latest/download/signature-counter"
chmod +x ./signature-counter
chmod +w *
- name: Run S.C.
run: |
./signature-counter ./README.md
rm -f ./signature-counter
- name: Commit S.C.
run: |
git config user.name KevinZonda
git config user.email [email protected]
git add .
git commit -m "S.C.: `date "+%Y-%m-%d %H:%M:%S UTC%:z"`" || true
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}