Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow to update an existing test site
- Runs on PRs targeting `qa/**` branches and which source branch starts with `dev-test/`. - Waits for all the other checks to complete successfully before start. - Configures a SSH connection to a running AtoM server: - The host name must match the branch name. E.g.: for a branch named `dev-test/issue-12345-foo-bar` the host must be `issue-12345-foo-bar.atom.artefactual.net`. - It must accept connections using the DO_SSH_KEY secret. - It must have an AtoM instance configured and running. - The workflow performs the following steps on the existing instance: - Stop services (nginx, php7.4-fpm and atom-worker). - Fetch latest changes from the PR source branch. - Update dependencies (NPM and Composer). - Clear Symfony cache. - Purge (--demo). - Update themes CSS. - Start services (allowing more than 3 atom-worker restarts per day).
- Loading branch information