Skip to content

Commit 9e8f611

Browse files
Update deploy.yml
1 parent 1f66fe0 commit 9e8f611

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ jobs:
4040
run: npm run build
4141

4242
- name: Deploy Build
43-
uses: rossjrw/pr-preview-action@v1.4.7
44-
with:
45-
source-dir: ./dist/
46-
preview-branch: gh-pages
47-
umbrella-dir: .
43+
uses: s0/git-publish-subdir-action@develop
44+
env:
45+
REPO: self
46+
BRANCH: gh-pages # The branch name where you want to push the assets
47+
FOLDER: dist # The directory where your assets are generated
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token
49+
MESSAGE: "Build: ({sha}) {msg}" # The commit message

0 commit comments

Comments
 (0)