update env variables for drone.yml

This commit is contained in:
oDinZu 2022-12-01 21:10:26 -05:00
parent 1686917d87
commit de38411a09
2 changed files with 4 additions and 4 deletions

View File

@ -56,8 +56,10 @@ steps:
from_secret: no_hostkey
SERVER_PASS:
from_secret: server_pass
API_TOKEN:
from_secret: api_token
STRAPI_BOT_USER_EMAIL:
from_secret: strapi_bot_user_email
STRAPI_BOT_USER_PASS
from_secret: strapi_bot_user_pass
privileged: false
volumes:
- name: jekyll

View File

@ -76,8 +76,6 @@ if "#{strapi_bot_user_email}".blank? || "#{strapi_bot_user_pass}".blank?
puts ""
end # close if/else
Jekyll.logger.debug "Strapi Token Test: #{strapi_token}".to_s.yellow.bold
# check if api_token is auth or unauth
if "#{strapi_token}".blank?
# logs data to screen