mirror of
https://github.com/ArthurDanjou/artmcp.git
synced 2026-01-14 19:09:25 +01:00
35 lines
701 B
YAML
35 lines
701 B
YAML
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: artmcp-fg83
|