jsmrcaga / action-netlify-deploy

MIT License
102 stars 32 forks source link

deploy_alias is not a valid input and is not respected. #18

Closed mwolfhoffman closed 3 years ago

mwolfhoffman commented 3 years ago

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 3 years ago

This was an error on v 1.1.0. I tried again with 1.5.0 and it is fixed. Closing issue.

jsmrcaga commented 3 years ago

@mwolfhoffman thank you!