Skip to content

Instantly share code, notes, and snippets.

@bjesuiter
Last active October 21, 2024 19:13
Show Gist options
  • Save bjesuiter/83ca447a0e23a95128b63664c1b8c224 to your computer and use it in GitHub Desktop.
Save bjesuiter/83ca447a0e23a95128b63664c1b8c224 to your computer and use it in GitHub Desktop.
Deno Snippets
# .github/workflows/publish.yaml
name: Publish
on:
push:
# Pattern matched against refs/tags
tags:
- '*'
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # The OIDC ID token is used for authentication with JSR.
steps:
- uses: actions/checkout@v4
- run: npx jsr publish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment