Skip to content

Commit

Permalink
Merge pull request #27 from Ragzouken/action
Browse files Browse the repository at this point in the history
build html for pull requests
  • Loading branch information
Ragzouken authored May 25, 2024
2 parents d4c775e + ddfe2fc commit de82936
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/branch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: branch

on: pull_request

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: install pug & build
run: |
npm install pug-cli -g
pug --pretty -o site/bipsi --basedir src -- src/index.pug
- name: upload page
uses: actions/upload-artifact@v4
with:
name: bipsi.html
path: ./site/bipsi/index.html

0 comments on commit de82936

Please sign in to comment.