Skip to content

Commit e15e33e

Browse files
committed
update build artifact path in deploy workflow
1 parent 1612d44 commit e15e33e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/deploy.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ on:
44
push:
55
branches:
66
- main
7-
# Review gh actions docs if you want to further define triggers, paths, etc
8-
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
97
workflow_dispatch:
108

119
env:
1210
cwd: ${{github.workspace}}/site
11+
1312
jobs:
1413
build:
1514
name: Build Docusaurus
@@ -34,7 +33,7 @@ jobs:
3433
- name: Upload Build Artifact
3534
uses: actions/upload-pages-artifact@v3
3635
with:
37-
path: ../build
36+
path: ${{ env.cwd }}/build
3837

3938
deploy:
4039
name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)