Skip to content

Commit

Permalink
Fixed GitHub Action deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
vladleesi committed Apr 1, 2024
1 parent dfa4290 commit 5beeacf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gh-pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'corretto'
Expand All @@ -28,7 +28,7 @@ jobs:
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.PAT }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: build/distributions # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch
token: ${{ secrets.PAT }}
branch: gh-pages # The branch the action should deploy to.
folder: build/distributions # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch

0 comments on commit 5beeacf

Please sign in to comment.