From 331550cdc287440d482e74fcdbc4dd3a4c1f5a22 Mon Sep 17 00:00:00 2001 From: Huynh Tien Date: Mon, 12 Aug 2024 14:46:21 +0700 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 198f238..b19c011 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,13 +21,15 @@ jobs: - name: Checkout the Repo uses: actions/checkout@v4 with: + ref: gh-pages path: repo + - name: Setup Java + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '21' - name: Setup Git user uses: qoomon/actions--setup-git@v1 - - name: Change Branch to gh-pages - run: | - cd ./repo - git branch -M gh-pages - name: Publish run: | cd ./Folia