From e9a1b6078e366a8ee071f5d423a1874608618e4d Mon Sep 17 00:00:00 2001 From: Dante Niewenhuis Date: Mon, 19 May 2025 13:31:34 +0200 Subject: Removing gh-pages site from master branch (#338) * Removing site from master branch * Updated README.md --- .github/workflows/build.yml | 29 ----------------------- .github/workflows/pages.yml | 57 --------------------------------------------- 2 files changed, 86 deletions(-) delete mode 100644 .github/workflows/pages.yml (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6d9cca16..238b27b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,32 +84,3 @@ jobs: uses: docker/build-push-action@v6 with: file: opendc-web/opendc-web-runner/Dockerfile - build-docs: - defaults: - run: - working-directory: site - name: Build Docs - runs-on: ubuntu-22.04 - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "18" - cache: 'npm' - cache-dependency-path: site/package-lock.json - - name: Setup Pages - id: pages - uses: actions/configure-pages@v5 - - name: Install dependencies - run: npm ci - - name: Build with Docusaurus - run: npm run build - env: - DOCUSAURUS_URL: ${{ steps.pages.outputs.origin }} - DOCUSAURUS_BASE_PATH: ${{ steps.pages.outputs.base_path }}/ - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: ./site/build diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml deleted file mode 100644 index 7a232650..00000000 --- a/.github/workflows/pages.yml +++ /dev/null @@ -1,57 +0,0 @@ -name: Deploy opendc.org - -on: - push: - branches: ["master"] - workflow_dispatch: - -concurrency: - group: "pages" - cancel-in-progress: true - -jobs: - build: - defaults: - run: - working-directory: site - runs-on: ubuntu-22.04 - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "18" - cache: 'npm' - cache-dependency-path: site/package-lock.json - - name: Setup Pages - id: pages - uses: actions/configure-pages@v5 - - name: Install dependencies - run: npm ci - - name: Build with Docusaurus - run: npm run build - env: - DOCUSAURUS_URL: ${{ steps.pages.outputs.origin }} - DOCUSAURUS_BASE_PATH: ${{ steps.pages.outputs.base_path }}/ - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: ./site/build - - deploy: - needs: build - - permissions: - contents: read - pages: write - id-token: write - - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-22.04 - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 -- cgit v1.2.3