Commit graph

1838 commits

Author SHA1 Message Date
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
ee274d36b0
Merge pull request #245 from jonnybarnes/fix_svg_icons
Fix the styling of the syndication SVGs
2022-01-08 21:20:14 +00:00
16d89fa390 Fix the styling of the syndication SVGs 2022-01-08 21:13:15 +00:00
7d01259d3d
Merge pull request #243 from jonnybarnes/dependency-updates-20220108
Dependency updates
2022-01-08 19:47:32 +00:00
4e7170f3c6 Dependency updates 2022-01-08 18:40:34 +00:00
918b60eb60
Merge pull request #242 from jonnybarnes/use-different-env-for-deployments
Use better named environment for deployments
2022-01-01 10:34:22 +00:00
738be80983 Fix a failing test due to changing year 2022-01-01 09:48:37 +00:00
a23e5d0fdf Use better named environment for deployments 2022-01-01 09:38:59 +00:00
816c302465
Merge pull request #241 from jonnybarnes/improve-deployments
Improving deployment steps
2022-01-01 09:12:52 +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
1a28f79b76
Merge pull request #240 from jonnybarnes/github-action-deploy
[WIP] GitHub action to deploy
2021-12-17 20:24:02 +00:00
16ff1ba24b
Merge branch 'develop' into github-action-deploy 2021-12-17 20:03:43 +00:00
958839b4e1
Merge pull request #239 from jonnybarnes/dependency-updates-20211217
Update dependencies
2021-12-17 20:02:57 +00:00
ad985652f8 Update dependencies 2021-12-17 19:58:52 +00:00
5148b1fb02 Allow the deploy action to be run from github.com 2021-12-17 19:54:47 +00:00
005d3cdf90 Merge branch 'develop' into github-action-deploy 2021-10-24 18:14:43 +01:00
e2af5e013f
Merge pull request #237 from jonnybarnes/update_dependencies_2021102401
Dependency updates
2021-10-24 17:05:00 +01:00
76dfe41e8c Update guzzle psr7 calls
The prior methods used have been deprecated and removed from upstream
project.
2021-10-24 16:55:30 +01:00
939c7839f6 Dependency updates 2021-10-24 16:18:02 +01:00
246df8d4b7
Merge pull request #236 from jonnybarnes/improve_csp_header
Remove un-needed elements from CSP header
2021-10-05 21:01:39 +01:00
b464ba9dd3 Remove un-needed elements from CSP header 2021-10-05 20:58:28 +01:00
Jonny Barnes
f7d71257ff
Merge pull request #235 from jonnybarnes/dependency_updates_20211005
Update dependencies (2021-10-05)
2021-10-05 20:51:43 +01:00
8f36930bd0 Update dependencies (2021-10-05) 2021-10-05 20:42:02 +01:00