diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index 48e0d2d..fbf7fd7 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -1,20 +1,12 @@ on: [push] jobs: jekyll: - runs-on: docker - container: - image: jekyll/builder:latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: | - ls ${{ github.workspace }} - - run: | - ls $(pwd) - - run: | - cd ${{ github.workspace }} - - name: Update Gems - run: bundle update - - name: Build Site - run: jekyll build - - run: | - ls ${{ github.workspace }} + - uses: https://github.com/ruby/setup-ruby@v1 + with: + ruby-version: '3.3' # Not needed with a .ruby-version file + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + - run: bundle install + - run: jekyll help