From 52e077d4428cb7d3b30b6fc14b1f68042236a223 Mon Sep 17 00:00:00 2001 From: Timo Date: Mon, 2 Sep 2024 14:06:30 +0200 Subject: [PATCH] chore: Move deployment to a separate workflow --- .github/workflows/deploy-preview.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/deploy-preview.yml diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml new file mode 100644 index 0000000000..957f975da2 --- /dev/null +++ b/.github/workflows/deploy-preview.yml @@ -0,0 +1,22 @@ +name: Build, lint and test + +on: + workflow_run: ["Build, lint and test"] + types: + - completed + +permissions: + id-token: write + actions: read + contents: read + security-events: write + deployments: write + +jobs: + deploy: + needs: build + uses: cloudscape-design/actions/.github/workflows/deploy.yml@main + secrets: inherit + with: + artifact-name: dev-pages + deployment-path: lib/static-default