Skip to content

Commit

Permalink
fix: add datacite secrets to build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alee committed Apr 9, 2024
1 parent 56b7b66 commit a859111
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ services:
build: django
image: comses/server
secrets:
- datacite_api_password
- db_password
- discourse_api_key
- discourse_sso_secret
Expand All @@ -84,6 +85,8 @@ services:
- ./.env

secrets:
datacite_api_password:
file: ./build/secrets/datacite_api_password
db_password:
file: ./build/secrets/db_password
discourse_api_key:
Expand Down
3 changes: 3 additions & 0 deletions deploy/conf/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ SENTRY_DSN=
GITHUB_CLIENT_ID=
ORCID_CLIENT_ID=

# datacite api settings
DATACITE_API_USERNAME=

# test
TEST_USER_ID=10000000
TEST_USERNAME=__test_user__
Expand Down
2 changes: 1 addition & 1 deletion django/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bagit==1.8.1
bleach==6.1.0
datacite==1.1.3
datacite==1.1.4
dedupe==2.0.23
django-allauth==0.61.1
django-anymail[mailgun]==10.2
Expand Down

0 comments on commit a859111

Please sign in to comment.