diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 9da3776..bcd1c04 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -18,11 +18,24 @@ jobs: - name: Checkout master uses: actions/checkout@v4 - - name: Build builder image - run: docker compose build + # - name: Build builder image + # run: docker compose build + + # - name: Build website + # run: docker compose run jekyll build + + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.3' + + - name: Install Jekyll + run: gem install jekyll bundler + + - name: Install dependencies + run: bundle install - name: Build website - run: docker compose run jekyll build + run: bundle exec jekyll build - name: Publish to Cloudflare Pages uses: cloudflare/pages-action@v1 diff --git a/docker-compose.yml b/docker-compose.yml index e677ce5..14753fa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,5 @@ services: tty: true volumes: - .:/srv/jekyll:Z - - ./Gemfile:/srv/jekyll/Gemfile ports: - "127.0.0.1:4000:4000" \ No newline at end of file