Skip to content

Commit

Permalink
move secret to secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Oct 13, 2024
1 parent 8e754f2 commit b3c50e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jobs/fastcgi.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ job "fastcgi" {
"local/www.conf:/usr/local/etc/php-fpm.d/www.conf",
"local/AdoyFastCgiClient.php:/srv/fcgi-check/AdoyFastCgiClient.php",
"local/fcgi-probe.php:/srv/fcgi-check/fcgi-probe.php",
"secrets/secrets.php:/a/secret.php",
"secrets/secrets.php:/a/secrets.php",
"secrets/analytics-credentials-file.json:/a/analytics-credentials-file.json",
# Overwrite the default Hotfix.php provided by femiwiki/mediawiki
"local/Hotfix.php:/a/Hotfix.php",
Expand Down Expand Up @@ -271,6 +271,7 @@ variable "pretrun" {
#!/bin/bash
set -euo pipefail; IFS=$'\n\t'
test -s /a/secret.php
test -s /a/secrets.php
test -s /a/LocalSettings.php
EOF
}

0 comments on commit b3c50e2

Please sign in to comment.