From 4a925b0d82219aadbc4b325529c32f0e78942b06 Mon Sep 17 00:00:00 2001 From: ArielMant0 Date: Tue, 24 Oct 2023 11:57:15 +0200 Subject: [PATCH] minor workflow changes --- .github/workflows/deploy.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7122a67..a701da9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,9 +1,12 @@ name: Deploy + on: - workflow_dispatch: {} + # Runs on pushes targeting the default branch push: - branches: - - main + branches: ['main'] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: # Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages permissions: @@ -25,19 +28,17 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - with: - fetch-depth: 0 - name: Set up Node uses: actions/setup-node@v3 with: node-version: 16 cache: 'npm' - name: Install dependencies - run: npm install --frozen-lockfile + run: npm install - name: Build run: npm run build - name: Setup Pages - uses: actions/configure-pages@v2 + uses: actions/configure-pages@v3 - name: Upload Artifact uses: actions/upload-pages-artifact@v1 with: