Skip to content

Commit 70dccc9

Browse files
committed
Refactor deploy-docs workflow:
- Remove redundant working-directory specs
1 parent d3197da commit 70dccc9

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/deploy-docs.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
paths:
8-
- 'website/**'
8+
- "website/**"
99

1010
jobs:
1111
build:
@@ -24,15 +24,12 @@ jobs:
2424

2525
- name: Install dependencies
2626
run: bun install --frozen-lockfile
27-
working-directory: ./website
2827

2928
- name: Build website
3029
run: bun build
31-
working-directory: ./website
3230

3331
- name: Upload Build Artifact
3432
uses: actions/upload-pages-artifact@v3
35-
working-directory: ./website
3633
with:
3734
path: build
3835

@@ -54,9 +51,10 @@ jobs:
5451
steps:
5552
- name: Deploy to GitHub Pages
5653
uses: peaceiris/actions-gh-pages@v3
57-
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
54+
if:
55+
github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
5856
with:
5957
github_token: ${{ secrets.GITHUB_TOKEN }}
6058
publish_dir: ./websites/build
61-
user_name: 'github-actions[bot]'
62-
user_email: 'github-actions[bot]@users.noreply.github.com'
59+
user_name: "github-actions[bot]"
60+
user_email: "github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)