diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index d77a92e..bd0b6bd 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -73,41 +73,3 @@ jobs: --build-arg NEXTAUTH_URL=${{ secrets.NEXTAUTH_URL }} \ -t $IMAGE_NAME . docker push $IMAGE_NAME - - deploy: - runs-on: ubuntu-latest - needs: build - - steps: - # Step 1: Checkout code - - name: Checkout code - uses: actions/checkout@v4 - - # Step 2: Setup Node.js - - name: Setup Node.js environment - uses: actions/setup-node@v4 - with: - node-version: 20 # Specify the Node.js version - cache: 'npm' - - # Step 3: Download build artifacts - - name: Download build artifacts - uses: actions/download-artifact@v3 - with: - name: nextjs-build - - # Step 4: Deploy to Vercel - - name: Deploy to Vercel - run: npx vercel --prod --yes - env: - VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} - UPSTASH_REDIS_REST_URL: ${{ secrets.UPSTASH_REDIS_REST_URL }} - UPSTASH_REDIS_REST_TOKEN: ${{ secrets.UPSTASH_REDIS_REST_TOKEN }} - GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} - GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }} - NEXTAUTH_SECRET: ${{ secrets.NEXTAUTH_SECRET }} - PUSHER_APP_ID: ${{ secrets.PUSHER_APP_ID }} - NEXT_PUBLIC_PUSHER_KEY: ${{ secrets.NEXT_PUBLIC_PUSHER_KEY }} - PUSHER_SECRET: ${{ secrets.PUSHER_SECRET }} - PUSHER_CLUSTER: ${{ secrets.PUSHER_CLUSTER }} - NEXTAUTH_URL: ${{ secrets.NEXTAUTH_URL }}