Fix password for openssl
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Tobias Reisinger 2021-06-30 16:09:52 +02:00
parent ae9e2d7ee5
commit 7644a22d67
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -8,11 +8,14 @@ steps:
- name: build npm - name: build npm
image: node:16.0.0 image: node:16.0.0
pull: always pull: always
environment:
PASS:
from_secret: fontawesome_password
commands: commands:
- npm install - npm install
- cd /tmp - cd /tmp
- curl -O "http://public.serguzim.me.sos-de-fra-1.exo.io/@fortawesome.tar.gz.enc" - curl -O "http://public.serguzim.me.sos-de-fra-1.exo.io/@fortawesome.tar.gz.enc"
- openssl enc -aes256 -pbkdf2 -out "@fortawesome.tar.gz" -in "@fortawesome.tar.gz.enc" -d --pass stdin - echo ${PASS} | openssl enc -aes256 -pbkdf2 -out "@fortawesome.tar.gz" -in "@fortawesome.tar.gz.enc" -d --pass stdin
- tar xzf "@fortawesome.tar.gz" - tar xzf "@fortawesome.tar.gz"
- cd /drone/reitanlage-oranienburg/ - cd /drone/reitanlage-oranienburg/
- mv "/tmp/@fortawesome" ./node_modules - mv "/tmp/@fortawesome" ./node_modules