diff --git a/.github/workflows/_deploy-vercel.yml b/.github/workflows/_deploy-vercel.yml index 28ad95ca..6623a514 100644 --- a/.github/workflows/_deploy-vercel.yml +++ b/.github/workflows/_deploy-vercel.yml @@ -3,6 +3,8 @@ name: deploy-vercel on: workflow_call: secrets: + VERCEL_TOKEN: + required: true VERCEL_ORG_ID: required: true VERCEL_PROJECT_ID: diff --git a/.github/workflows/web-publish-prod.yml b/.github/workflows/web-publish-prod.yml index a7cea302..f47bb2a6 100644 --- a/.github/workflows/web-publish-prod.yml +++ b/.github/workflows/web-publish-prod.yml @@ -6,7 +6,7 @@ on: - "master" jobs: - web-bump-version: + bump-version: name: "Bump Version on master" runs-on: ubuntu-latest @@ -33,7 +33,9 @@ jobs: run: echo "new tag $NEW_TAG" deploy-vercel: + need: [bump-version] uses: ./.github/workflows/_deploy-vercel.yml secrets: + VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}