2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-28 05:26:44 +00:00
Matthias Mair b29f813e56
Update gh-pages.yml
switch to base path
2021-11-08 23:22:13 +01:00

29 lines
603 B
YAML

name: Build pages and publish
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
- uses: helaili/jekyll-action@2.2.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
target_branch: 'gh-pages'
jekyll_src: 'home'
pre_build_commands: |
cd home
apk add --update npm
npm install