Skip to content

Commit

Permalink
fix: Create release ZIP file and add docs on contributing and securit…
Browse files Browse the repository at this point in the history
…y reports
  • Loading branch information
simonrjones committed Aug 23, 2022
1 parent b6c71ee commit 057d949
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
file: ./wordpress-multi-env-config.zip
asset_name: wordpress-multi-env-config0.zip
asset_name: wordpress-multi-env-config.zip
tag: ${{ steps.release.outputs.tag_name }}
overwrite: true
if: ${{ steps.release.outputs.release_created }}
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ who gave me the inspiration for the organisation of the config files.

Please note the current version is v2, if you need to use the older v1 version [please see the v1 release](https://github.com/studio24/wordpress-multi-env-config/releases/tag/v1.0.2).

## Contributing

Strata is an Open Source project. Find out more about how to [contribute](CONTRIBUTING.md).

## Security Issues

If you discover a security vulnerability within WordPress Multi-Environment Config, please follow our [disclosure procedure](SECURITY.md).

## How it works

The system detects what environment the current website is in and loads the relevant config file for that environment.
Expand Down Expand Up @@ -141,10 +149,12 @@ Example usage when using a wildcard for WordPress multi-site.
```

## Installing

Please note this requires PHP5.4 or above. You should really be on PHP5.6 at a minimum!

1. First make a backup of your existing `wp-config.php` file.
2. Copy the following files from this repository to your WordPress installation:
1. Download the required files via [wordpress-multi-env-config.zip](https://github.com/studio24/wordpress-multi-env-config/releases/latest/download/wordpress-multi-env-config.zip)
2. First make a backup of your existing `wp-config.php` file.
3. Copy the following files from this repository to your WordPress installation:

```
wp-config.default.php
Expand Down

0 comments on commit 057d949

Please sign in to comment.