Skip to content

output branch name #180

output branch name

output branch name #180

Workflow file for this run

name: Build Check
on:
push
jobs:
build-css:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: main
- name: Install Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Install Deps
run: deno install
- name: Build CSS
run: deno task build
- name: Check if CSS is up to date
run: |
if ! git diff --quiet index.css; then
echo "The index.css has changes after running the build command. Please commit those changes."
git branch
exit 1
fi