mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-14 15:54:13 +01:00
Working on v2
This commit is contained in:
34
.github/workflows/nuxthub.yml
vendored
34
.github/workflows/nuxthub.yml
vendored
@@ -1,34 +0,0 @@
|
||||
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: artsite-v2-6mmw
|
||||
Reference in New Issue
Block a user