deploy_alias is not a valid input and is not respected.
mwolfhoffman opened this issue · 2 comments
mwolfhoffman commented
I am getting a warning that deploy_alias is not a valid input.
My project then deploys to Netlify, but without the alias.
Here is the warning text:
Unexpected input(s) 'deploy_alias', valid inputs are ['entryPoint', 'args', 'NETLIFY_AUTH_TOKEN', 'NETLIFY_SITE_ID', 'NETLIFY_DEPLOY_TO_PROD', 'NETLIFY_DEPLOY_MESSAGE', 'build_directory', 'functions_directory']
My yaml file:
- name: Print Branch Name
run: echo ${BRANCH_NAME}
- name: 'Deploy to Netlify'
uses: jsmrcaga/action-netlify-deploy@v1.1.0
with:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_DEPLOY_MESSAGE: Deploying ${{ env.BRANCH_NAME }} to Netlify
build_directory: dist
deploy_alias: ${{ env.BRANCH_NAME }}
mwolfhoffman commented
This was an error on v 1.1.0. I tried again with 1.5.0 and it is fixed. Closing issue.
jsmrcaga commented
@mwolfhoffman thank you!