fixes for github theme #2
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: Update release | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'styles/**/rose-pine.user.css' | |
permissions: | |
contents: write | |
jobs: | |
release: | |
name: Update release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build | |
run: | | |
bash ./build.sh | |
cd ./scripts && npm install && cd .. | |
node ./scripts/generate-imports.js | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: gh release upload userstyle-imports import.json --clobber |