From d0c1be0b5a362edff9fc177eb17301386ac74d43 Mon Sep 17 00:00:00 2001 From: thatscrazzyy Date: Fri, 21 Jun 2024 10:42:48 -0500 Subject: [PATCH] workflows --- .github/workflows/deploy.yml | 30 ------------------------------ .github/workflows/nextjs.yml | 6 ++---- 2 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 735bd4e..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Deploy Next.js site to GitHub Pages - -on: - push: - branches: - - main - -jobs: - build-and-deploy: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up Node.js - uses: actions/setup-node@v1 - with: - node-version: '14' - - - name: Install dependencies - run: npm install - - - name: Build the site - run: npm run build - - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./out diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index ed74736..e2a8910 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -1,7 +1,5 @@ -# Sample workflow for building and deploying a Next.js site to GitHub Pages -# -# To get started with Next.js see: https://nextjs.org/docs/getting-started -# + + name: Deploy Next.js site to Pages on: