From 36f398f1101799cbd57b11a251aaede471827273 Mon Sep 17 00:00:00 2001 From: Kamontat Chantrachirathumrong <14089557+kamontat@users.noreply.github.com> Date: Sun, 3 Dec 2023 22:56:01 +0700 Subject: [PATCH] chore(ci): add missing pull env --- .github/workflows/deployment.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml index a9be13d..80b2b40 100644 --- a/.github/workflows/deployment.yaml +++ b/.github/workflows/deployment.yaml @@ -20,7 +20,9 @@ jobs: with: node-version-file: "package.json" cache: "pnpm" - - name: Build Project Artifacts + - name: Pull environment information + run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} + - name: Build artifacts run: vercel build --token=${{ secrets.VERCEL_TOKEN }} - - name: Deploy Project Artifacts + - name: Deploy artifacts run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}