File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 5353 else
5454 npm run build:prod
5555 fi
56-
57- - name : Deploy main to root
58- if : github.ref == 'refs/heads/main'
59- uses : JamesIves/github-pages-deploy-action@v4
60- with :
61- branch : gh-pages
62- folder : dist # Use the production build folder
63- target-folder : ' ' # Deploy to the root folder
64- token : ${{ secrets.GITHUB_TOKEN }}
65- clean : true # Clear root before deploying main
66-
6756 - name : Set up Git user
6857 run : |
6958 git config --global user.name "GitHub Actions"
8473 env :
8574 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8675 run : npm run release
76+ - name : Deploy main to root
77+ if : github.ref == 'refs/heads/main'
78+ uses : JamesIves/github-pages-deploy-action@v4
79+ with :
80+ branch : gh-pages
81+ folder : dist # Use the production build folder
82+ target-folder : ' ' # Deploy to the root folder
83+ token : ${{ secrets.GITHUB_TOKEN }}
84+ clean : true # Clear root before deploying main
85+
86+
8787
8888 - name : Deploy to GitHub Pages
8989 uses : JamesIves/github-pages-deploy-action@v4
You can’t perform that action at this time.
0 commit comments