From d6974bcef6d5a644558dbadb183c3bbec0a3e058 Mon Sep 17 00:00:00 2001 From: Ib Green Date: Wed, 13 Mar 2024 16:54:33 -0400 Subject: [PATCH] chore: remove broken website publishing workflow (#2030) --- .github/workflows/website.yml | 48 ----------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 .github/workflows/website.yml diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml deleted file mode 100644 index 082be47db4..0000000000 --- a/.github/workflows/website.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: website - -on: - push: - branches: - - '*-release' - -jobs: - publish-website: - runs-on: ubuntu-latest - - if: github.repository_owner == 'visgl' - - steps: - - uses: actions/checkout@v4.1.1 - with: - token: ${{ secrets.ADMIN_TOKEN }} - - - name: Use Node.js - uses: actions/setup-node@v4.0.0 - with: - node-version: '18.x' - - - name: Get version - id: get-version - run: LATEST=$(npm show @luma.gl/core version | grep -o -E "^[0-9]+\.[0-9]+") && echo "::set-output name=latest::/${LATEST}-release" - - - name: Check version - if: ${{ !endsWith(github.ref, steps.get-version.outputs.latest) }} - run: | - echo "Website is only published from the latest release branch" - - - name: Build website - if: ${{ endsWith(github.ref, steps.get-version.outputs.latest) }} - run: | - yarn bootstrap - cd website - yarn - yarn build - - - name: Deploy - if: ${{ endsWith(github.ref, steps.get-version.outputs.latest) }} - uses: JamesIves/github-pages-deploy-action@3.7.1 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: gh-pages - FOLDER: website/public - CLEAN: true