Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create the admin auth file on deploy #317

Open
4 tasks
waldoj opened this issue Mar 19, 2019 · 0 comments
Open
4 tasks

Create the admin auth file on deploy #317

waldoj opened this issue Mar 19, 2019 · 0 comments
Assignees
Labels

Comments

@waldoj
Copy link
Member

waldoj commented Mar 19, 2019

The .users file in /admin/ is not, of course, stored in Git. But it's not stored anywhere else, either. This requires that it be recreated manually each time the site is deployed to a fresh server. Create this on each deploy.

  • store the password as a secret in Travis
  • store .users, sans password, in Git
  • figure out if a hashed htpasswd password can be moved between systems (or if there's a local salt)
  • populate the password in the .users file within Travis
@waldoj waldoj added the devops label Mar 19, 2019
@waldoj waldoj self-assigned this Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant