ci: add nuxthub workflow

This commit is contained in:
nuxthub-admin[bot]
2025-11-12 15:15:28 +00:00
committed by GitHub
parent db045807b1
commit 239259a2b3

34
.github/workflows/nuxthub.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: Deploy to NuxtHub
on: push
jobs:
deploy:
name: "Deploy to NuxtHub"
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Install Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: bun install
- name: Ensure NuxtHub module is installed
run: bunx nuxthub@latest ensure
- name: Build & Deploy to NuxtHub
uses: nuxt-hub/action@v2
with:
project-key: artrag-kixt