0ed98dc06a
Support tags as well as branches when deploying
2022-06-04 17:11:16 +01:00
3d1806e775
Deploy from alternative branches ( #248 )
...
* Try setting branch dynamically
* Just use the github_ref variable
* Some debug steps
* Why does git asteriks my output?
* Try env variable directly
* Use github context
* Remove the ref/head/ part from the branch name
* Set branch in env variable
* Try and fix env redirect
* Use/set correct env name
2022-01-16 15:45:16 +00:00
a23e5d0fdf
Use better named environment for deployments
2022-01-01 09:38:59 +00:00
7194010f1d
Use systemd instead of supervisord
2021-12-31 18:15:17 +00:00
35f30fa581
Improve the tidy up step of the deployment
2021-12-31 12:39:44 +00:00
761a32806a
Fix name as well
2021-12-31 07:58:33 +00:00
3b096e473d
Final deployment script hopefully
2021-12-30 20:03:18 +00:00
7beddd11e8
Use the right user when chown-ing for deletion
2021-12-30 17:47:46 +00:00
b58fc8a98b
Change just the cache folder
2021-12-30 17:39:17 +00:00
428252957a
Don’t change permissions back to user
2021-12-30 17:15:37 +00:00
c1874efeaa
Use correct base dir for symlinks
2021-12-30 15:10:02 +00:00
1c9d1ed63f
Fix directory permissions for cache directory
2021-12-30 13:13:16 +00:00
9f8d928205
Fix malformed commands due to missing space
2021-12-30 11:08:14 +00:00
9fbfc466c0
Run the commands as the HTTP_USER
2021-12-30 11:02:48 +00:00
e0fd8948cd
Remove chown of symlink
2021-12-30 10:33:46 +00:00
67d48ad697
Add a debugging line for permissions
2021-12-29 18:15:07 +00:00
e03dc5d7d5
Try normal chown of storage dir symlink
2021-12-29 18:14:14 +00:00
9f84a9db78
Try relying on underlying permissions
2021-12-29 18:03:18 +00:00
Jonathan Barnes
750eafea04
Set storage link writable as http user
2021-12-29 17:52:38 +00:00
Jonathan Barnes
e238512312
Add all persistent data necessary
2021-12-29 17:00:05 +00:00
abd4593bfe
Pull in the main branch instead of develop
2021-12-29 14:46:26 +00:00
f260b5465e
Clone over https
2021-12-28 15:02:50 +00:00
0c230d6a62
Use deplopyment user in tifying up step
2021-12-27 13:10:29 +00:00
d9b4c15c00
Remove debugging step for helping set env variables
2021-12-27 12:14:54 +00:00
e267534ced
Only manual deployments
2021-12-23 14:07:47 +00:00
1d14f181b0
Try setting derived env variable in second step
2021-12-23 13:28:48 +00:00
02a38a237f
Trying to get directories sorted
2021-12-23 13:23:05 +00:00
0d4103d644
Specify target deployment directory in an env secret
2021-12-20 18:50:25 +00:00
72b49564ca
Specify ssh details in env secrets
2021-12-20 18:48:31 +00:00
8aa14c5bbf
Access secrets correctly
2021-12-18 18:49:26 +00:00
fb22623632
Disable some potentially destructive steps
2021-12-18 18:32:44 +00:00
5148b1fb02
Allow the deploy action to be run from github.com
2021-12-17 19:54:47 +00:00
fa50fe190a
Initial attempt at a deploy script run through github actions
2021-02-07 16:12:38 +00:00