Skip to content

3. Test für Webhook #9

3. Test für Webhook

3. Test für Webhook #9

name: Build Jekyll Site and Upload _site as Artifact
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2' # Match your local Ruby version
bundler-cache: true
- name: Install dependencies
run: |
gem install bundler
bundle install
- name: Build with Jekyll
run: bundle exec jekyll build
- name: Upload _site as artifact
uses: actions/upload-artifact@v3
with:
name: jekyll-site
path: _site/