commit 77003f540b7fa2a52f06ae3b88bc095bb2115c5c parent 47d56c6633764404c8ad5c7e16905c8d7cf48d4f Author: MTRNord <mtrnord1@gmail.com> Date: Thu, 27 Jan 2022 22:38:40 +0100 Deploy only after tests were successfull Diffstat:
| M | .github/workflows/deploy.yml | | | 5 | ++++- |
| A | .vscode/settings.json | | | 6 | ++++++ |
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml @@ -1,7 +1,10 @@ name: Deploy to server on: - push: + workflow_run: + workflows: ["Playwright Tests"] branches: [main] + types: + - completed permissions: read-all jobs: diff --git a/.vscode/settings.json b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "yaml.schemas": { + "https://json.schemastore.org/github-workflow.json": "file:///c%3A/Users/marce/WebstormProjects/matrix-art/.github/workflows/deploy.yml" + } +} +\ No newline at end of file