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

Generate an information file #71

Open
mallorydxw opened this issue Jul 26, 2016 · 1 comment
Open

Generate an information file #71

mallorydxw opened this issue Jul 26, 2016 · 1 comment

Comments

@mallorydxw
Copy link
Contributor

We want the commit hash of the deployment to be available as a constant (so that dxw-extras can display it on the dashboard).

So we should generate a PHP file that contains something along the lines of the following:

<?php
define('WHIPPET_DEPLOY', true); # this repo was deployed with whippet deploy
define('WHIPPET_COMMIT', 'def'); # the commit hash used in this deployment

If we think of any more useful information, we can add it later.

(WP should load this file. If we can't figure out an easy way to do that, we can add a require() line to chef's wp-config.php).

@snim2
Copy link
Contributor

snim2 commented Sep 25, 2023

We keep saying we want this but I'm not totally sure why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants