Commit graph

59 commits

Author SHA1 Message Date
dependabot[bot]
db670de2f0
build(deps): Bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-23 19:53:08 +00:00
dependabot[bot]
38480ddaad
build(deps): Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-23 19:49:36 +00:00
7f8553127d
Update GitHub Action dependencies with dependabot 2024-03-23 19:47:00 +00:00
811f968fb9
Run just 8.3 tests 2024-02-23 16:14:47 +00:00
7e6a047bc8
Remove PHP 8.2
Added 8.4 as well for testing purposes
2024-02-23 16:10:04 +00:00
4dbcba401c
ci: Refactor GitHub Actions workflow for PHP setup
- Updated PHP and PHPUnit versions in workflow matrix
- Added new extensions to PHP setup
- Enabled xdebug coverage
- Cached composer dependencies based on PHP version
- Removed Node setup and installation of dependencies
- Updated checkout action to version 4
- Set GITHUB_TOKEN environment variable for PHP setup
- Changed cache key for composer dependencies based on PHP version
2023-11-27 18:44:20 +00:00
189433ca3e
ci: Optimize GitHub Actions deployment workflow 2023-11-11 19:15:34 +00:00
b49ffd2e9d
ci: Increase deployment trigger to include published releases
- Add workflow trigger for manual release deployment using the `release` event
- Trigger the workflow on `published` release types only
2023-10-27 21:10:11 +01:00
3a681c0a44
Initial work with Psalm reporting 2023-06-25 14:18:40 +01:00
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