Skip to content

Commit

Permalink
Correctly check for runner OS, rename GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-si committed Jun 3, 2024
1 parent b232cc4 commit d1942ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy webapp to GitHub Pages
name: Run tests and deploy webapp to GitHub Pages

on:
push:
Expand All @@ -19,7 +19,7 @@ concurrency:
cancel-in-progress: true

jobs:
deploy:
test-and-deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down Expand Up @@ -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

0 comments on commit d1942ec

Please sign in to comment.