Files
RSSHub/.github/workflows/build-assets.yml
T
TonyRL 6c7988c481 chore: rebuild yarn.lock
* minimist 1.2.5 CVE-2021-44906
2022-04-11 23:38:08 +00:00

31 lines
704 B
YAML

name: build assets
on:
push:
branches:
- master
paths:
- 'lib/**'
jobs:
build:
runs-on: ubuntu-latest
name: Build assets
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js v14
uses: actions/setup-node@v3
with:
node-version: '14'
cache: 'yarn'
- name: Build file
run: yarn && npm run build:all
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./assets
user_name: 'github-actions[bot]'
user_email: '41898282+github-actions[bot]@users.noreply.github.com'