Secured variable in deploy_script

Diego's Avatar

Diego

31 Dec, 2014 10:10 AM

Hi,

I am trying to deploy to biicode service using a custom deploy, but there is no way it will understand the secured password. The documentation does not explicitely define how to use it, sometimes it seems {secured_passwd}, other $(secured_passwd). None of them is working for me. My conf file is something like:

environment:
  secured_passwd:
    secure: 0cRRPfXLuFHFktDapSTefg==

deploy_script:
  - cmd: bii user diego -p $(secured_passwd)
  - cmd: bii publish

Thanks for your help!

  1. Support Staff 1 Posted by Feodor Fitsner on 31 Dec, 2014 06:26 PM

    Feodor Fitsner's Avatar

    Hi Diego,

    As deployment section are scripts it should be just:

    deploy_script: 
      - cmd: bii user diego -p %secured_passwd%
      - cmd: bii publish
    
  2. 2 Posted by Diego on 01 Jan, 2015 09:25 PM

    Diego's Avatar

    This worked perfectly.
    It would be great if you could include an example in appveyor.yml reference, or more easily findable in the documentation.
    Thanks very much

  3. Support Staff 3 Posted by Feodor Fitsner on 02 Jan, 2015 12:01 AM

    Feodor Fitsner's Avatar

    Sure, will do that.

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:53 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac