Skip to content

Commit

Permalink
Revert "split into separate jobs"
Browse files Browse the repository at this point in the history
This reverts commit a28c28f.
  • Loading branch information
yochannah committed Sep 27, 2023
1 parent 30047db commit b291273
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ concurrency:
cancel-in-progress: false

jobs:
# Prepare ruby
setup-env:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -39,21 +39,10 @@ jobs:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: 'Change to Jekyll directory'
run: cd view && bundle install

# Copy sample data
copy-data:
runs-on: ubuntu-latest
steps:
- name: Change to Jekyll directory
run: cd view && bundle install
- name: Copy sample data for public environment
run: mkdir _data && cp _sampledata/* -r _data

# Build view
build-view:
runs-on: ubuntu-latest
needs: [setup-env, copy-data]
steps:
run: cd view && mkdir _data && cp _sampledata/* -r _data
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
Expand Down

0 comments on commit b291273

Please sign in to comment.