Skip to content

Commit d1942ec

Browse files
committed
Correctly check for runner OS, rename GitHub workflow
1 parent b232cc4 commit d1942ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pages.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy webapp to GitHub Pages
1+
name: Run tests and deploy webapp to GitHub Pages
22

33
on:
44
push:
@@ -19,7 +19,7 @@ concurrency:
1919
cancel-in-progress: true
2020

2121
jobs:
22-
deploy:
22+
test-and-deploy:
2323
environment:
2424
name: github-pages
2525
url: ${{ steps.deployment.outputs.page_url }}
@@ -53,12 +53,12 @@ jobs:
5353
run: make docs
5454

5555
- name: Upload artifact
56-
if: runner.os == 'ubuntu-latest'
56+
if: runner.os == 'Linux'
5757
uses: actions/upload-artifact@v4
5858
with:
5959
path: docs
6060

6161
- name: Deploy to GitHub Pages
62-
if: runner.os == 'ubuntu-latest'
62+
if: runner.os == 'Linux'
6363
id: deployment
6464
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)