From c41879a73faf5128234fa752463b42936c529aeb Mon Sep 17 00:00:00 2001 From: candle Date: Sat, 25 May 2024 13:35:57 +0100 Subject: [PATCH] testing ruby --- .github/workflows/publish.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index f2a0079..11c482c 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -17,9 +17,16 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20.x' - - run: npm install pug-cli -g - - run: pug --pretty -o dist --basedir src -- src/index.pug - - name: Upload artifact + run: npm install pug-cli -g + run: pug --pretty -o dist --basedir src -- src/index.pug + - name install ruby & neocities + uses: 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 exec rake + run: gem install neocities + - name: upload github pages artifact uses: actions/upload-pages-artifact@v1 with: path: ./dist