Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
Create static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikPieper committed Nov 24, 2023
1 parent c32d156 commit d956eed
Show file tree
Hide file tree
Showing 39 changed files with 67 additions and 4,321 deletions.
65 changes: 65 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Sample workflow for building and deploying a Next.js site to GitHub Pages
#
# To get started with Next.js see: https://nextjs.org/docs/getting-started
#
name: Deploy 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 only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18"
cache: pnpm
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Install dependencies
run: pnpm install
- name: Build with Nx
run: pnpm nx build docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./dist/docs

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
214 changes: 2 additions & 212 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default defineConfig({
title: 'Nxext',
description: 'Nxext brings different tools to Nx',
outDir: '../dist/docs',
base: '/nx-extensions-ionic/',

themeConfig: {
siteTitle: 'Nxext',
Expand Down Expand Up @@ -101,27 +102,6 @@ function sideNavDocs() {
collapsible: true,
collapsed: true,
items: [
{
text: 'Stencil',
items: [
{
text: 'Overview',
link: '/docs/stencil/overview',
},
{
text: 'Installation',
link: '/docs/stencil/installation',
},
{
text: 'Generators',
link: '/docs/stencil/generators',
},
{
text: 'Executors',
link: '/docs/stencil/executors',
},
],
},
{
text: 'Capacitor',
items: [
Expand Down Expand Up @@ -198,196 +178,6 @@ function sideNavDocs() {
],
},
],
},
{
text: 'Vite projects',
collapsible: true,
collapsed: true,
items: [
{
text: 'Vue',
items: [
{
text: 'Overview',
link: '/docs/vue/overview',
},
{
text: 'Installation',
link: '/docs/vue/installation',
},
{
text: 'Generators',
link: '/docs/vue/generators',
},
],
},
{
text: 'Svelte',
items: [
{
text: 'Overview',
link: '/docs/svelte/overview',
},
{
text: 'Installation',
link: '/docs/svelte/installation',
},
{
text: 'Generators',
link: '/docs/svelte/generators',
},
],
},
{
text: 'Preact',
items: [
{
text: 'Overview',
link: '/docs/preact/overview',
},
{
text: 'Installation',
link: '/docs/preact/installation',
},
{
text: 'Generators',
link: '/docs/preact/generators',
},
],
},
{
text: 'Solid',
items: [
{
text: 'Overview',
link: '/docs/solid/overview',
},
{
text: 'Installation',
link: '/docs/solid/installation',
},
{
text: 'Generators',
link: '/docs/solid/generators',
},
],
},
],
},
{
text: 'Unstable/Alpha projects',
collapsible: true,
collapsed: true,
items: [
{
text: 'Sveltekit',
items: [
{
text: 'Overview',
link: '/docs/sveltekit/overview',
},
{
text: 'Installation',
link: '/docs/sveltekit/installation',
},
{
text: 'Generators',
link: '/docs/sveltekit/generators',
},
{
text: 'Executors',
link: '/docs/sveltekit/executors',
},
],
},
{
text: 'Nuxt',
items: [
{
text: 'Overview',
link: '/docs/nuxt/overview',
},
{
text: 'Installation',
link: '/docs/nuxt/installation',
},
{
text: 'Generators',
link: '/docs/nuxt/generators',
},
{
text: 'Executors',
link: '/docs/nuxt/executors',
},
],
},
],
},
{
text: 'Deprecated projects',
collapsible: true,
collapsed: true,
items: [
{
text: 'Vite',
items: [
{
text: 'Overview',
link: '/docs/vite/overview',
},
{
text: 'Installation',
link: '/docs/vite/installation',
},
{
text: 'Generators',
link: '/docs/vite/generators',
},
{
text: 'Executors',
link: '/docs/vite/executors',
},
],
},
{
text: 'Vitest',
items: [
{
text: 'Overview',
link: '/docs/vitest/overview',
},
{
text: 'Installation',
link: '/docs/vitest/installation',
},
{
text: 'Generators',
link: '/docs/vitest/generators',
},
{
text: 'Executors',
link: '/docs/vitest/executors',
},
],
},
{
text: 'React',
items: [
{
text: 'Overview',
link: '/docs/react/overview',
},
{
text: 'Installation',
link: '/docs/react/installation',
},
{
text: 'Generators',
link: '/docs/react/generators',
},
],
},
],
},
}
];
}
81 changes: 0 additions & 81 deletions docs/docs/nuxt/executors.md

This file was deleted.

Loading

0 comments on commit d956eed

Please sign in to comment.