Skip to content

Commit

Permalink
Improve Build yml
Browse files Browse the repository at this point in the history
  • Loading branch information
paracycle committed Mar 25, 2024
1 parent c258b64 commit 8806dca
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,24 @@ on:
push:
branches:
- master

permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- run: bundle exec middleman build
- run: bundle exec middleman deploy
- 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

0 comments on commit 8806dca

Please sign in to comment.