mirror of
https://github.com/tlsnotary/website.git
synced 2026-01-09 22:18:12 -05:00
update github workflow
This commit is contained in:
17
.github/workflows/build_deploy_master.yml
vendored
17
.github/workflows/build_deploy_master.yml
vendored
@@ -26,8 +26,17 @@ jobs:
|
||||
- name: Build with Next.js 🏗️
|
||||
run: npx next build
|
||||
|
||||
- name: Deploy to gh-pages branch
|
||||
uses: JamesIves/github-pages-deploy-action@v4.4.3
|
||||
- name: Upload artifact 📡
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: out
|
||||
path: ./out
|
||||
|
||||
- name: Publish to GitHub Pages 🚀
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
#- name: Deploy to gh-pages branch
|
||||
# uses: JamesIves/github-pages-deploy-action@v4.4.3
|
||||
# with:
|
||||
# branch: gh-pages
|
||||
# folder: out
|
||||
|
||||
17
.github/workflows/build_dev.yml
vendored
17
.github/workflows/build_dev.yml
vendored
@@ -32,8 +32,17 @@ jobs:
|
||||
- name: Build with Next.js 🏗️
|
||||
run: npx next build
|
||||
|
||||
- name: Deploy to gh-pages-dev branch
|
||||
uses: JamesIves/github-pages-deploy-action@v4.4.3
|
||||
- name: Upload artifact 📡
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
branch: gh-pages-dev
|
||||
folder: out
|
||||
path: ./out
|
||||
|
||||
- name: Publish to GitHub Pages 🚀
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
#- name: Deploy to gh-pages-dev branch
|
||||
# uses: JamesIves/github-pages-deploy-action@v4.4.3
|
||||
# with:
|
||||
# branch: gh-pages-dev
|
||||
# folder: out
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
basePath: "/landing-page",
|
||||
output: 'export', // compatible with GitHub Pages
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user