21deb53727
Improve Github Actions and add Laravel Pint check
2022-07-09 10:56:03 +01:00
e28e790af3
Configure dependabot
2022-07-08 16:53:53 +01:00
0ed98dc06a
Support tags as well as branches when deploying
2022-06-04 17:11:16 +01:00
31d3ad4b6f
Run tests on PHP 8.1
2022-06-01 21:28:45 +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
005d3cdf90
Merge branch 'develop' into github-action-deploy
2021-10-24 18:14:43 +01:00
7a41cc2a2d
Tweak Action to run improved tests
2021-08-31 12:51:40 +01:00
1abca77bdc
Finish re-working tests to run on test database
2021-08-31 12:28:00 +01:00
fa50fe190a
Initial attempt at a deploy script run through github actions
2021-02-07 16:12:38 +00:00
9f61bb5b95
Use same version of Postgres in tests as in dev
2021-01-31 15:21:10 +00:00
1406e8b520
Some dependency updates
2021-01-31 14:50:01 +00:00
8a7bbdab27
Update github action to use php8
2020-11-28 19:07:28 +00:00
a05388beff
Add step to check for known security issues
2020-10-17 14:36:17 +01:00
59ad3121d9
Run phpcs on the code as well
2020-10-17 14:21:33 +01:00
030d44355a
sudo needed for apt install
2020-10-17 13:43:32 +01:00
d598c1c280
Install and use ImageMagick
2020-10-17 13:01:28 +01:00
70cd4b2ea3
Make sure puppeteer is installed for actions
2020-10-17 12:17:54 +01:00
a4f8e6f5b2
Use Postgresql in tests
2020-10-17 12:09:01 +01:00
3c3463d33f
Use a custom .env file
2020-10-17 11:58:43 +01:00
d0a4c73844
Add an action for unit tests
2020-10-17 11:53:24 +01:00