feat(cli): add a captain-update script to generate a report of all applications to update
This commit is contained in:
17
README.md
17
README.md
@@ -1,3 +1,18 @@
|
||||
# Tools
|
||||
|
||||
Tools allowing to keep sans.pub up-to-date and automate common recurring actions.
|
||||
Tools allowing to keep sans.pub up-to-date and automate common recurring actions.
|
||||
|
||||
## `captain-update.mjs`
|
||||
|
||||
Allow to generate a report of all versions of applications deployed on sans.pub, with the current status of each application and whether they need an update or not.
|
||||
|
||||
It can serve as a base for a changelog entry, and as a TODO list for updating applications.
|
||||
|
||||
Example:
|
||||
```shell
|
||||
CAPTAIN_DOMAIN=xxxx CAPTAIN_PASSWORD='yyy' ./captain-update.mjs > /path/to/site/src/changelog/2023-05-08.md
|
||||
```
|
||||
|
||||
### TODO
|
||||
|
||||
- [ ] try to update applications automatically from a prompt
|
||||
Reference in New Issue
Block a user