We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac1833d commit 1f66fe0Copy full SHA for 1f66fe0
.github/workflows/deploy.yml
@@ -39,11 +39,9 @@ jobs:
39
- name: Build
40
run: npm run build
41
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
+ - name: Deploy Build
+ uses: rossjrw/pr-preview-action@v1.4.7
+ with:
+ source-dir: ./dist/
+ preview-branch: gh-pages
+ umbrella-dir: .
0 commit comments