generated from pascalmartineau/wp-skeleton
fix: don't use nuxt-hub/action
This commit is contained in:
@@ -5,10 +5,6 @@ on: [push]
|
||||
env:
|
||||
NUXT_PROJECT_PATH: wp-content/themes/ccat
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-websimple
|
||||
@@ -24,9 +20,13 @@ jobs:
|
||||
working-directory: ${{ env.NUXT_PROJECT_PATH }}
|
||||
run: pnpx nuxthub@latest ensure
|
||||
|
||||
- name: Build & Deploy to NuxtHub
|
||||
uses: nuxt-hub/action@v2
|
||||
with:
|
||||
project-key: ${{ vars.NUXT_HUB_PROJECT_KEY }}
|
||||
- name: Build Nuxt project
|
||||
working-directory: ${{ env.NUXT_PROJECT_PATH }}
|
||||
run: pnpm build
|
||||
|
||||
- name: Deploy to NuxtHub
|
||||
working-directory: ${{ env.NUXT_PROJECT_PATH }}
|
||||
env:
|
||||
NUXT_HUB_PROJECT_KEY: ${{ vars.NUXT_HUB_PROJECT_KEY }}
|
||||
NUXT_HUB_USER_TOKEN: ${{ secrets.NUXT_HUB_USER_TOKEN }}
|
||||
run: pnpx nuxthub@latest deploy
|
||||
|
||||
Reference in New Issue
Block a user