diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml deleted file mode 100644 index 26060cf7..00000000 --- a/.github/workflows/website.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Deploy Website - -on: - push: - branches: - - main # Trigger the action on push to the main branch - pull_request: - branches: - - main # Trigger the action on pull requests to the main branch - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: '18' # Specify the Node.js version - - - name: Install dependencies - run: | - cd web - npm install - - - name: Build Next.js app - run: | - cd web - npm run build - - - name: Deploy to Vercel - run: | - cd web - npm install -g vercel - vercel --prod --token=${{ secrets.VERCEL_TOKEN }}