Skip to content

Commit

Permalink
Update main.yml (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-NRCan authored Oct 18, 2023
1 parent 09fe85e commit e35d6f5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ jobs:
# Push to the gh-pages branch
- name: Push to gh-pages branch
uses: s0/git-publish-subdir-action@develop
uses: JamesIves/github-pages-deploy-action@v4.4.1
env:
REPO: self
BRANCH: gh-pages # The branch name where you want to push the assets
FOLDER: dist # The directory where your assets are generated
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token
MESSAGE: "Build: ({sha}) {msg}" # The commit message
branch: gh-pages # The branch name where you want to push the assets
folder: dist # The directory where your assets are generated
single-commit: true

0 comments on commit e35d6f5

Please sign in to comment.