-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (25 loc) · 659 Bytes
/
Copy pathmakefile.yml
File metadata and controls
33 lines (25 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Makefile CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clean Workspace
uses: AutoModality/action-clean@v1.1.0
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.20'
- name: Build project
run: make
- name: Publish the web pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output/html
enable_jekyll: false
if: github.ref_name == 'master' && github.event_name == 'push'