From 538927fce661a7495979697189f587d53e038016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Rudowicz?= Date: Mon, 17 Feb 2025 21:26:37 +0100 Subject: [PATCH] CI --- .forgejo/workflows/build-jekyll.yml | 15 +++++++++++++++ Dockerfile | 7 +++++++ 2 files changed, 22 insertions(+) create mode 100644 .forgejo/workflows/build-jekyll.yml create mode 100644 Dockerfile diff --git a/.forgejo/workflows/build-jekyll.yml b/.forgejo/workflows/build-jekyll.yml new file mode 100644 index 0000000..30a82ba --- /dev/null +++ b/.forgejo/workflows/build-jekyll.yml @@ -0,0 +1,15 @@ +on: + push: + branches: + - main +jobs: + test: + runs-on: docker + container: + image: git.hswro.org/fleg/actions-experiments:latest + steps: + - run: bundle exec jekyll build + - uses: actions/upload-artifact@v3 + with: + name: generated-site + path: _site/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8bf0421 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM fedora:41 + +RUN dnf -y upgrade \ + && dnf install -y ruby ruby-devel openssl-devel redhat-rpm-config gcc-c++ @development-tools \ + && gem install --no-document jekyll -v 4.4.1 \ + && gem install --no-document jekyll-environment-variables \ + && gem install --no-document webrick -v 1.7