Skip to content

Commit

Permalink
Update docs deploy action.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrood-nrel committed Dec 17, 2024
1 parent 7874592 commit c6d701c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ jobs:
cat build-output-warnings.txt
exit $(tail -n 1 build-output-warnings.txt | awk '{print $2}')
- name: Deploy
if: github.event_name == 'push'
uses: JamesIves/github-pages-deploy-action@releases/v3
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
BRANCH: gh-pages
FOLDER: documentation
SINGLE_COMMIT: true
token: ${{secrets.GITHUB_TOKEN}}
branch: gh-pages
folder: documentation
single-commit: true

0 comments on commit c6d701c

Please sign in to comment.