Skip to content

Commit 1f66fe0

Browse files
Update deploy.yml
1 parent ac1833d commit 1f66fe0

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,9 @@ jobs:
3939
- name: Build
4040
run: npm run build
4141

42-
- name: Deploy to GitHub Pages
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
42+
- 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: .

0 commit comments

Comments
 (0)