From bfec8fcda89c51e3eb812954ba0d8a8395f8c515 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 10 Sep 2023 17:10:37 -0400 Subject: [PATCH] Remove push workflow We now deploy via Netlify instead of GitHub Pages --- .github/workflows/push.yml | 51 -------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 .github/workflows/push.yml diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml deleted file mode 100644 index 1b4dc859..00000000 --- a/.github/workflows/push.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: Build and deploy website - -on: - push: - branches: - - main - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - build-deploy: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: 18 - - - name: Check cache - uses: actions/cache@v3 - id: npm-cache - with: - path: '**/node_modules' - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - - - name: Install dependencies - if: steps.npm-cache.outputs.cache-hit != 'true' - run: npm install - - - name: Build website - run: npm run build - - - name: Add .nojekyll - run: touch ./public/.nojekyll - - - name: Deploy website - uses: peaceiris/actions-gh-pages@v3 - with: - deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} - publish_branch: gh-pages - publish_dir: ./public - user_name: "github-actions[bot]" - user_email: "github-actions[bot]@users.noreply.github.com" - commit_message: ${{ github.event.head_commit.message }}