From 76e735d8e7527dba4c5bf23dbfefd54f69ada42f Mon Sep 17 00:00:00 2001 From: Pascal Martineau Date: Wed, 27 Aug 2025 13:33:44 -0400 Subject: [PATCH] feat: deploy-nuxthub --- .gitea/workflows/deploy-nuxthub.yaml | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .gitea/workflows/deploy-nuxthub.yaml diff --git a/.gitea/workflows/deploy-nuxthub.yaml b/.gitea/workflows/deploy-nuxthub.yaml new file mode 100644 index 0000000..a3e845b --- /dev/null +++ b/.gitea/workflows/deploy-nuxthub.yaml @@ -0,0 +1,32 @@ +name: NuxtHub deployment +run-name: ${{ gitea.actor }} deploying ${{ gitea.repository.name }} +on: [push] + +jobs: + deploy: + runs-on: ubuntu-websimple + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install pnpm + uses: pnpm/action-setup@v4 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: 'pnpm' + + - name: Install dependencies + working-directory: wp-content/themes/ccat + run: pnpm install + + - name: Ensure NuxtHub module is installed + working-directory: wp-content/themes/ccat + run: pnpx nuxthub@latest ensure + + - name: Build & Deploy to NuxtHub + uses: nuxt-hub/action@v2 + with: + project-key: cultureat-ca-vmym