Skip to content

Commit

Permalink
Try using a deploy action instead
Browse files Browse the repository at this point in the history
  • Loading branch information
paracycle committed Mar 25, 2024
1 parent 8806dca commit 85cc7d6
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ jobs:
bundler-cache: true
- name: Build
run: bundle exec middleman build
- name: Set Git info
run: |
git config user.email "[email protected]"
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.

0 comments on commit 85cc7d6

Please sign in to comment.