From bd06a638640f85d0b3a881cdae3ae266fe485a0d Mon Sep 17 00:00:00 2001 From: Damjan Polugic Date: Mon, 1 Apr 2024 19:36:14 +0200 Subject: [PATCH] Update actions.yml --- .github/workflows/actions.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index a3e9765..0f85b88 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,8 +1,5 @@ -# This is a basic workflow to help you get started with Actions +name: Build project and deploy to GitHub Pages -name: CI - -# Controls when the workflow will run on: # Triggers the workflow on push or pull request events but only for the "master" branch push: @@ -13,6 +10,11 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: +# Allow one concurrent deployment +concurrency: + group: 'pages' + cancel-in-progress: true + jobs: build: # The type of runner that the job will run on @@ -53,6 +55,9 @@ jobs: - name: Build project run: pnpm build + - name: Setup Pages + uses: actions/configure-pages@v4 + # Upload build artifacts. - uses: actions/upload-pages-artifact@v3 with: