Replies: 2 comments
-
|
Note I didn't test this yet with the latest release. If you want to publish to github pages, something like the following script should work: If you deploy to a sub-direcory, e.g. name: Deploy static content to Pages
on:
push:
branches: ["main"]
paths: ["src/**"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Install
run: bun install --frozen-lockfile
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build
run: bun run build
# e.g. nue build -pr src
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "src/.dist/prod"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4Please ask if you need more help with this, or you meant to ask something different with your question :) |
Beta Was this translation helpful? Give feedback.
-
|
I deployed my app to GitHub and discussed here: #454 (reply in thread) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, is it possible to deploy my Nue.js project on GitHub? And if not, could you please guide me on how to deploy it to a different platform?
Beta Was this translation helpful? Give feedback.
All reactions