test-pages/.forgejo/workflows/build.yml

17 lines
605 B
YAML
Raw Permalink Normal View History

2024-06-29 09:13:05 +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:
2024-06-29 09:14:27 +00:00
ruby-version: '3.2.2' # Not needed with a .ruby-version file
2024-06-29 09:13:05 +00:00
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
- name: Build
run: bundle exec jekyll build
- name: Copy
2024-06-29 09:15:18 +00:00
run: cp -r _site/* /pages/