Skip to content
This repository was archived by the owner on Mar 29, 2026. It is now read-only.

Update build.yml

Update build.yml #21

Workflow file for this run

name: Build
on:
workflow_dispatch
pull_request:

Check failure on line 4 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
branches:
- main
paths:
- 'Makefile'
push:
branches:
- main
paths:
- 'Makefile'
- 'header-validation/**'
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Build
run: make
- name: Deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out