Skip to content

Commit

Permalink
ci: update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
iorate committed Nov 28, 2023
1 parent 6576f1f commit 0b656f6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 15 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/check-website.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check website
name: check (website)

permissions:
contents: read
Expand All @@ -7,10 +7,11 @@ on:
pull_request:
branches:
- master
paths:
- website/**

jobs:
check-website:
name: Check website
check:
runs-on: ubuntu-22.04
defaults:
run:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check
name: check

permissions:
contents: read
Expand All @@ -12,10 +12,11 @@ on:
pull_request:
branches:
- master
paths-ignore:
- website/**

jobs:
check:
name: Check
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy website
name: deploy (website)

permissions:
contents: read
Expand All @@ -13,8 +13,7 @@ on:
- website/**

jobs:
build-website:
name: Build website
build:
runs-on: ubuntu-22.04
defaults:
run:
Expand All @@ -31,10 +30,9 @@ jobs:
- uses: actions/upload-pages-artifact@v2
with:
path: website/build
deploy-website:
name: Deploy website
deploy:
runs-on: ubuntu-22.04
needs: build-website
needs: build
steps:
- uses: actions/deploy-pages@v2
id: deployment
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy
name: deploy

permissions:
contents: write
Expand All @@ -19,7 +19,6 @@ on:

jobs:
deploy:
name: Deploy
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Stale
name: stale

permissions:
issues: write
Expand All @@ -10,7 +10,6 @@ on:

jobs:
stale:
name: Stale
runs-on: ubuntu-22.04
steps:
- uses: actions/stale@v8
Expand Down

0 comments on commit 0b656f6

Please sign in to comment.