From 85cc7d62690f13c39b532ec1cb141c9de94fae1c Mon Sep 17 00:00:00 2001 From: Ufuk Kayserilioglu Date: Mon, 25 Mar 2024 23:21:26 +0200 Subject: [PATCH] Try using a deploy action instead --- .github/workflows/build.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2bc72980..c145fa73 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,11 +16,8 @@ jobs: bundler-cache: true - name: Build run: bundle exec middleman build - - name: Set Git info - run: | - git config user.email "ufuk@paralaus.com" - git config user.name "Ufuk Kayserilioglu" - name: Deploy - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: bundle exec middleman deploy + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: build # The folder the action should deploy. + branch: gh-pages # The branch the action should deploy to.