diff --git a/.github/workflows/vercel-deploy.yml b/.github/workflows/vercel-deploy.yml new file mode 100644 index 0000000..baec3cf --- /dev/null +++ b/.github/workflows/vercel-deploy.yml @@ -0,0 +1,22 @@ +name: "Deploy to Vercel" + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Deploy to Vercel + uses: amondnet/vercel-action@v20 + 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 }} + vercel-args: --prod diff --git a/vercel.json b/vercel.json index d5cb15e..a9cb1fa 100644 --- a/vercel.json +++ b/vercel.json @@ -7,6 +7,6 @@ }, "routes": [{ "src": "/(.*)", "dest": "/api/index.php" }], "github": { - "silent": true + "enabled": false } }