From 5beeacfa44cf9f708dac5f7749251d9d5fe4902e Mon Sep 17 00:00:00 2001 From: vladleesi Date: Mon, 1 Apr 2024 04:06:32 -0600 Subject: [PATCH] Fixed GitHub Action deploy --- .github/workflows/gh-pages-deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gh-pages-deploy.yml b/.github/workflows/gh-pages-deploy.yml index 29174f7..4cd6ee5 100644 --- a/.github/workflows/gh-pages-deploy.yml +++ b/.github/workflows/gh-pages-deploy.yml @@ -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' @@ -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 \ No newline at end of file + 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 \ No newline at end of file