Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 7 additions & 17 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:

jobs:
build:
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand All @@ -26,23 +26,13 @@ jobs:
- run: npm install
- run: npm run build

- name: Setup Ruby via Homebrew
run: |
echo "$(brew --prefix ruby)/bin" >> $GITHUB_PATH
export PATH="$(brew --prefix ruby)/bin:$PATH"
GEM_DIR="$(ruby -e 'puts Gem.user_dir')/bin"
echo "$GEM_DIR" >> $GITHUB_PATH

- name: Install Jekyll dependencies
run: |
export PATH="$(brew --prefix ruby)/bin:$(ruby -e 'puts Gem.user_dir')/bin:$PATH"
gem install bundler --user-install --no-document
bundle install
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true

- name: Build Jekyll site
run: |
export PATH="$(brew --prefix ruby)/bin:$(ruby -e 'puts Gem.user_dir')/bin:$PATH"
bundle exec jekyll build
run: bundle exec jekyll build
env:
JEKYLL_ENV: production

Expand All @@ -55,7 +45,7 @@ jobs:

deploy:
needs: build
runs-on: self-hosted
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
validate:
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down
Loading