Skip to content

Commit 1586bd0

Browse files
authored
Update build.yml
1 parent a9fcbf7 commit 1586bd0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,15 @@ jobs:
7070
echo "DEPLOY_PATH=${BRANCH_NAME}" >> $GITHUB_ENV
7171
fi
7272
73-
- name: Upload artifact to Pages
73+
- name: Upload artifact
7474
uses: actions/[email protected]
7575
with:
7676
path: dir
77-
deployment-path: ${{ env.DEPLOY_PATH }}
7877

7978
- name: Deploy to GitHub Pages
8079
id: deployment
8180
uses: actions/[email protected]
81+
with:
82+
target_branch: gh-pages
83+
target_path: ${{ env.DEPLOY_PATH }}
84+

0 commit comments

Comments
 (0)