mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
add publish permissions
This commit is contained in:
7
.github/workflows/bun.yml
vendored
7
.github/workflows/bun.yml
vendored
@@ -16,6 +16,10 @@ jobs:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -24,10 +28,13 @@ jobs:
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
run: bun install
|
||||
|
||||
- name: 📦 Build
|
||||
run: bun run build
|
||||
|
||||
- name: 📦 Upload SourceMap
|
||||
run: bunx @hyperdx/cli upload-sourcemaps --serviceKey ${{ secrets.HYPERDX_SERVICE_KEY }} --path dist/assets
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user