-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganise deployment info
- Loading branch information
Showing
1 changed file
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,17 @@ add it to the file `build-short-urls/pd-short-urls.csv` | |
|
||
There are then two options for deployment: | ||
|
||
### Use Github actions | ||
|
||
If you're editing the main PD version of this then committing your change will trigger | ||
a deployment. | ||
|
||
If using your own clone of this then your repository will need secrets set up for | ||
AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY | ||
|
||
With that done, pushing the updated CSV to github (or just updating it using github | ||
on the web) will trigger a deployment. | ||
|
||
### Deploy from the command line | ||
|
||
Run: | ||
|
@@ -66,14 +77,6 @@ This assumes you are: | |
* running python3 | ||
* have the dependencies listed in the requirements.txt file | ||
|
||
### Use github actions | ||
|
||
The preferred way to do deployments is using github actions. For that to work your | ||
repository will need secrets set up for AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY | ||
|
||
With that done, pushing the updated CSV to github (or just updating it using github | ||
on the web) will trigger a deployment. | ||
|
||
## Any questions/suggestions | ||
|
||
Contact [email protected] |