Skip to content

Commit

Permalink
Updated deploy script to use caching for faster deploy times
Browse files Browse the repository at this point in the history
  • Loading branch information
morotsgurka committed Oct 3, 2023
1 parent 7af3f57 commit 0088efc
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,13 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.3 # Specify your Ruby version
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 14 # Specify your Node.js version

- name: Install Bundler
run: gem install bundler
env:
BUNDLER_VERSION: 2.4.2

- name: Install Jekyll dependencies
run: bundle install
cache: 'npm' # enables caching of npm dependencies

- name: Install npm dependencies
run: npm ci
Expand Down

0 comments on commit 0088efc

Please sign in to comment.