From 5b2e27df008a1a88fd8b7b3e41c7ee7af0a7a471 Mon Sep 17 00:00:00 2001 From: duelingbenjos Date: Fri, 14 Jun 2024 13:56:15 +0100 Subject: [PATCH] more config updates :D --- .github/workflows/deploy.yml | 8 ++++---- .gitignore | 1 - docs/.gitkeep | 0 3 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 docs/.gitkeep diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 231e404..747903a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,6 +22,7 @@ permissions: concurrency: group: pages cancel-in-progress: false + jobs: # Build job build: @@ -31,6 +32,8 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 # Not needed if lastUpdated is not enabled + # - uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm + # - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun - name: Setup Node uses: actions/setup-node@v4 with: @@ -38,18 +41,15 @@ jobs: cache: npm # or pnpm / yarn - name: Setup Pages uses: actions/configure-pages@v4 - - name: Create docs directory - run: mkdir -p docs - name: Install dependencies run: npm ci # or pnpm install / yarn install / bun install - name: Build with VitePress run: npm run build:prod - - name: Create .nojekyll file - run: echo "" > docs/.nojekyll - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: path: docs/ + # Deployment job deploy: environment: diff --git a/.gitignore b/.gitignore index 5039603..94aa6e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ .vitepress/cache .vitepress/dist node_modules -docs \ No newline at end of file diff --git a/docs/.gitkeep b/docs/.gitkeep new file mode 100644 index 0000000..e69de29