From d1942ec163abf31e68cce5a5c2079f310fecb53c Mon Sep 17 00:00:00 2001 From: Adrian Sieber Date: Mon, 3 Jun 2024 14:20:22 +0000 Subject: [PATCH] Correctly check for runner OS, rename GitHub workflow --- .github/workflows/pages.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index ca32c30..018de25 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -1,4 +1,4 @@ -name: Deploy webapp to GitHub Pages +name: Run tests and deploy webapp to GitHub Pages on: push: @@ -19,7 +19,7 @@ concurrency: cancel-in-progress: true jobs: - deploy: + test-and-deploy: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} @@ -53,12 +53,12 @@ jobs: run: make docs - name: Upload artifact - if: runner.os == 'ubuntu-latest' + if: runner.os == 'Linux' uses: actions/upload-artifact@v4 with: path: docs - name: Deploy to GitHub Pages - if: runner.os == 'ubuntu-latest' + if: runner.os == 'Linux' id: deployment uses: actions/deploy-pages@v4