chore(github): update workflows

This commit is contained in:
Benjamin Canac
2025-01-07 11:32:20 +01:00
parent 9bf93575a7
commit 2050bed050
3 changed files with 36 additions and 14 deletions

View File

@@ -10,9 +10,14 @@ on:
jobs:
docs:
name: "NuxtHub"
name: "Deploy to NuxtHub"
runs-on: ${{ matrix.os }}
environment:
name: ${{ github.ref == 'refs/heads/v3' && 'production' || 'preview' }}
url: ${{ steps.deploy.outputs.deployment-url }}
permissions:
contents: read
pull-requests: read
@@ -22,10 +27,6 @@ jobs:
os: [ubuntu-latest] # macos-latest, windows-latest
node: [22]
environment:
name: ${{ github.ref == 'refs/heads/v3' && 'production' || 'preview' }}
url: ${{ steps.deploy.outputs.deployment-url }}
env:
NUXT_GITHUB_TOKEN: ${{ secrets.NUXT_GITHUB_TOKEN }}
NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }}