Skip to content

fix(ci): attempt to solve Github release issue #88

fix(ci): attempt to solve Github release issue

fix(ci): attempt to solve Github release issue #88

Workflow file for this run

# Sample workflow for building and deploying a Nuxt site to GitHub Pages
#
# To get started with Nuxt see: https://nuxtjs.org/docs/get-started/installation
#
name: Deploy Nuxt site to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Generate Nuxt
uses: ./.github/actions/generate-nuxt
with:
github-page: true
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Download all workflow artifacts
uses: actions/download-artifact@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: "./nuxt-app/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1