homepage/.forgejo/workflows/build.yml

25 lines
832 B
YAML
Raw Normal View History

2024-07-06 06:48:33 +00:00
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: https://github.com/ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
with:
ruby-version: '3.2.2' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
2024-07-06 07:26:49 +00:00
# - uses: actions/setup-node@v4
# with:
# node-version: 22
# cache: 'npm'
# - name: Install node dependencies
# run: npm install
# - name: Build
# run: npm run build
2024-07-06 06:48:33 +00:00
- name: Build
2024-07-06 07:26:49 +00:00
run: bundle exec jekyll build
2024-07-06 06:48:33 +00:00
- name: Copy
run: cp -r dist/* /pages/