mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2024-12-21 06:11:29 +08:00
596a4eccc1
This reverts commit 2723f00cb8
.
36 lines
715 B
YAML
36 lines
715 B
YAML
name: Generate Theme Readme
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- "themes/index.js"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: setup node
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: "12.x"
|
|
|
|
- name: npm install, generate readme
|
|
run: |
|
|
npm install
|
|
npm run theme-readme-gen
|
|
env:
|
|
CI: true
|
|
|
|
- name: Run Script
|
|
uses: skx/github-action-tester@master
|
|
with:
|
|
script: ./scripts/push-theme-readme.sh
|
|
env:
|
|
CI: true
|
|
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
|
|
GH_REPO: ${{ secrets.GH_REPO }}
|