From 6ccffa0458cefcae7e46829db6b08049155d206e Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Fri, 10 Jan 2025 10:38:02 -0600 Subject: [PATCH] feat: enable vercel --- .github/workflows/website.yml | 27 +-------------------------- vercel.json | 5 ----- 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 vercel.json diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 9d1915491..c7e02863f 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -2,6 +2,7 @@ name: Website on: push: + branches: main workflow_dispatch: schedule: @@ -52,8 +53,6 @@ jobs: path: dist/website deploy-github-pages: - if: github.ref == 'refs/heads/main' - name: Deploy to GitHub Pages runs-on: ubuntu-latest needs: build @@ -65,27 +64,3 @@ jobs: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 - - deploy-vercel: - name: Deploy to Vercel - needs: build - runs-on: ubuntu-latest - environment: - name: Preview - - steps: - # vercel begs for the .git dir so here it is my guy - - uses: actions/checkout@v4 - - - name: Download artifact - uses: actions/download-artifact@v4 - with: - path: ./dist/website - - - uses: amondnet/vercel-action@v25 - with: - vercel-token: ${{ secrets.VERCEL_TOKEN }} - github-token: ${{ secrets.GITHUB_TOKEN }} - vercel-org-id: ${{ secrets.VERCEL_ORG_ID}} - vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} - working-directory: ./dist/website diff --git a/vercel.json b/vercel.json deleted file mode 100644 index 80e57248a..000000000 --- a/vercel.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "github": { - "enabled": false - } -}