Skip to content

Commit

Permalink
chore: Remove the safety
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Aug 26, 2024
1 parent 6ba6974 commit 42265d6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- "master"
- "jsr/*"
tags:
- "schema-*"

Expand All @@ -22,6 +21,10 @@ env:
GIT_COMMITTER_NAME: BIDS CI
GIT_COMMITTER_EMAIL: [email protected]

permissions:
contents: write
id-token: write

jobs:
publish:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -80,8 +83,9 @@ jobs:
jq ".version = \"$VERSION\"" jsr.json > tmp.json && mv tmp.json jsr.json
git add jsr.json schema.json context.ts metaschema.ts
git commit -m "Update schema JSR distribution"
git push
fi
- name: Publish to JSR
if: success()
run: |
npx jsr publish --dry-run
npx jsr publish

0 comments on commit 42265d6

Please sign in to comment.