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.