Closed VanDalkvist closed 8 years ago
Secured variables -
BOWER_REPO_PUBLISH_IDENTITY:
secure: sZFor2witUekX3GmcFBmsg==
BOWER_REPO_PUBLISH_TOKEN:
secure: OD0957xNoF+xL0R7pqhYxMztlYG9Ajy0TNkqc48lBbBzgMeZWswQhuAs3d48VrW4
work fine from appveyor.yml
for some reason build fails when downloading phantomjs, rebuilding PR
Secured variables -
BOWER_REPO_PUBLISH_IDENTITY: secure: sZFor2witUekX3GmcFBmsg== BOWER_REPO_PUBLISH_TOKEN: secure: OD0957xNoF+xL0R7pqhYxMztlYG9Ajy0TNkqc48lBbBzgMeZWswQhuAs3d48VrW4
work fine from appveyor.yml
Then should we add them to appveyor.yml? I can encrypt what is needed and give encrypted values to you - just say where should I found plain values.
BOWER_REPO_PUBLISH_IDENTITY - Github user which can be used for pushing to bower repository; BOWER_REPO_PUBLISH_TOKEN - Github acess token which can be used for pushing to bower repository and generated here - https://github.com/settings/tokens.
from the pull request description.
Actually, I don't think we should encrypt BOWER_REPO_PUBLISH_IDENTITY. it is just a user who has access to push to the bower repository. vandalkvist
for me.
Ok, you can generate it here - https://github.com/settings/tokens, encrypt it and I will push it to appveyor.yml.
Done, created and encrypted the token:
DWgqHUlNJ9oe1FvlLxgVxiUN6ScR/di6zDtCG1bzGLW9qr7W3EnURBvqgomL8vpk
Bower task will be triggered if branch is master and new tag is pushed. (#10)
For the Appveyor build you should have two environment variables: BOWER_REPO_PUBLISH_IDENTITY - Github user which can be used for pushing to bower repository; BOWER_REPO_PUBLISH_TOKEN - Github acess token which can be used for pushing to bower repository and generated here - https://github.com/settings/tokens.
Maybe it can be simplified, but it works. I am going read about Appveyor secure tokens and maybe will rewrite it to tokens under appveyor.yml file.
You can check it in https://github.com/it-depends-js/it-depends-bower . I will remove release and testing artifacts lately.