Skip to content

Update dependency ruby to v3.4.2 #133

Update dependency ruby to v3.4.2

Update dependency ruby to v3.4.2 #133

Workflow file for this run

name: publish
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.1
architecture: 'x64'
bundler-cache: true
- name: Build
run: bundle exec middleman build
- name: Publish
run: |
rm -rf build
git status
git diff
git config --global user.email "PlatformTeam@HMCTS.NET"
git config --global user.name "Platform Team"
git remote set-url origin https://nobody:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
bundle exec rake publish
if: github.ref == 'refs/heads/master'