Skip to content

Commit

Permalink
feat: release workflow
Browse files Browse the repository at this point in the history
s

s

s
  • Loading branch information
Joris Mertz committed Jun 11, 2024
1 parent ee76094 commit 5a69079
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Create release

on:
push:
branches:
- main
paths:
- 'styles/**/rose-pine.user.css'

permissions:
contents: write

jobs:
release:
name: Release userstyle import list
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: bash ./build.sh
- name: Update release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload userstyle-imports import.json --clobber
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
scripts/node_modules
package-lock.json
bun.lockb
import.json

0 comments on commit 5a69079

Please sign in to comment.