From 967b3b97b57becd4194a2fdaa0f3af5226b69253 Mon Sep 17 00:00:00 2001
From: Claudio Wunder
Date: Sun, 2 Jul 2023 21:29:34 +0200
Subject: [PATCH] chore: remove github pages
---
.github/workflows/github-pages.yml | 84 ------------------------------
README.md | 3 --
2 files changed, 87 deletions(-)
delete mode 100644 .github/workflows/github-pages.yml
diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml
deleted file mode 100644
index 4dd4675b54397..0000000000000
--- a/.github/workflows/github-pages.yml
+++ /dev/null
@@ -1,84 +0,0 @@
-name: Build and Deploy to GitHub Pages
-
-on:
- push:
- branches:
- - main
- workflow_dispatch:
-
-permissions:
- contents: read
- pages: write
- id-token: write
-
-concurrency:
- group: pages
- cancel-in-progress: true
-
-jobs:
- build:
- name: Build for GitHub Pages
- runs-on: ubuntu-latest
-
- steps:
- - name: Git Checkout
- uses: actions/checkout@v3
- with:
- fetch-depth: 2
-
- - name: Set up Node.js
- uses: actions/setup-node@v3
- with:
- node-version-file: '.nvmrc'
- cache: npm
-
- - name: Install NPM packages
- run: npm ci
-
- - name: Setup GitHub Pages
- uses: actions/configure-pages@v3
-
- - name: Restore Cache
- uses: actions/cache/restore@v3
- with:
- path: |
- .next/cache
- node_modules/.cache
- key: build-${{ hashFiles('**/package-lock.json') }}-
- restore-keys: |
- build-${{ hashFiles('**/package-lock.json') }}-
- enableCrossOsArchive: true
-
- - name: Build Next.js
- run: npm run deploy
- env:
- NODE_OPTIONS: '--max_old_space_size=4096'
- NEXT_BASE_PATH: /nodejs.org
-
- - name: Save Cache
- uses: actions/cache/save@v3
- with:
- path: |
- .next/cache
- node_modules/.cache
- key: build-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('node_modules/.cache') }}
- enableCrossOsArchive: true
-
- - name: Upload Artifact
- uses: actions/upload-pages-artifact@v1
- with:
- path: ./build
-
- deploy:
- name: Deploy to GitHub Pages
- runs-on: ubuntu-latest
- needs: build
-
- environment:
- name: github-pages
- url: ${{ steps.deployment.outputs.page_url }}
-
- steps:
- - name: Deploy to GitHub Pages
- id: deployment
- uses: actions/deploy-pages@v2
diff --git a/README.md b/README.md
index ef2d60167255e..e740f5ac871ba 100644
--- a/README.md
+++ b/README.md
@@ -13,9 +13,6 @@
-
-
-