diff --git a/.github/workflows/docker-femiwiki.yml b/.github/workflows/docker-femiwiki.yml index 087d2e58..445000de 100644 --- a/.github/workflows/docker-femiwiki.yml +++ b/.github/workflows/docker-femiwiki.yml @@ -23,7 +23,7 @@ jobs: - name: Edit configuration run: | - mv development/secret.php.example development/secret.php + mv development/secrets.php.example development/secrets.php mv dockers/femiwiki/LocalSettings.php development mv dockers/femiwiki/Hotfix.php development sed -i -r 's~ghcr\.io\/femiwiki\/femiwiki:.+~ghcr\.io\/femiwiki\/femiwiki:docker-test~' docker-compose.yml diff --git a/.gitignore b/.gitignore index 8e12d534..ef700330 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ -# secret +# Maybe contains secrets /development/secret.php +/development/secrets.php /development/LocalSettings.php /development/Hotfix.php /development/analytics-credentials-file.json diff --git a/README.md b/README.md index 87d6864a..fcd8b61a 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Caddy를 실행할 경우에는 Caddyfile을 `/srv/femiwiki.com/Caddyfile`로 ```bash docker swarm init -cp development/secret.php.example development/secret.php +cp development/secrets.php.example development/secrets.php cp dockers/mediawiki/LocalSettings.php development/ cp dockers/femiwiki/Hotfix.php development/ @@ -96,7 +96,7 @@ of the [GNU Affero General Public License v3.0] or any later version. See [docker swarm]: https://docs.docker.com/engine/swarm/ [docker composer]: https://docs.docker.com/compose/ [femiwiki/ami]: https://github.com/femiwiki/ami -[secret.php]: development/secret.php.example +[secrets.php]: development/secrets.php.example [how to deploy weekly femiwiki to production]: https://github.com/femiwiki/femiwiki/blob/main/how-to-deploy-weekly-femi-wiki-to-production.md [php-fpm]: https://php-fpm.org/ [caddy]: https://caddyserver.com/ diff --git a/development/secret.php.example b/development/secrets.php.example similarity index 83% rename from development/secret.php.example rename to development/secrets.php.example index b66ceb01..08b5be56 100644 --- a/development/secret.php.example +++ b/development/secrets.php.example @@ -1,9 +1,9 @@