Skip to content

Commit

Permalink
remove deploy set env from action
Browse files Browse the repository at this point in the history
  • Loading branch information
jfcoz committed Dec 2, 2022
1 parent f6e33cb commit 1cfa399
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ inputs:
required: true
VERCEL_PROJECT_ID:
required: true
VERCEL_ARGS:
required: true
SITE_FRONT_VERCEL_DOMAIN:
required: true



Expand All @@ -21,13 +25,6 @@ runs:
id: checkout
uses: actions/checkout@v2

- name: DeploySetEnv
uses: coopTilleuls/action-deploy-set-env@v1
id: deploy_set_env
with:
SITE_NAME: ${{ inputs.SITE_NAME }}
SECRETS_JSON: ${{ inputs.SECRETS_JSON }}

- name: VercelDeploy
id: VercelDeploy
uses: amondnet/vercel-action@v25.1.0
Expand All @@ -37,11 +34,11 @@ runs:
# Optional:
#github-token: ${{ inputs.GITHUB_TOKEN }}
#vercel-args: '--prod' #Optional
vercel-args: ${{ steps.deploy_set_env.outputs.VERCEL_ARGS }}
vercel-args: ${{ inputs.VERCEL_ARGS }}
# org id : https://vercel.com/teams/tilleuls/settings (team id)
vercel-org-id: ${{ inputs.VERCEL_ORG_ID}}
# project id : https://vercel.com/tilleuls/les-tilleuls-website/settings
vercel-project-id: ${{ inputs.VERCEL_PROJECT_ID}}
#working-directory: ./frontend # already in vercel config
scope: ${{ inputs.VERCEL_ORG_ID}}
alias-domains: ${{ steps.deploy_set_env.outputs.SITE_FRONT_VERCEL_DOMAIN }}
alias-domains: ${{ inputs.SITE_FRONT_VERCEL_DOMAIN }}

0 comments on commit 1cfa399

Please sign in to comment.