Skip to content

Commit

Permalink
Better gem caching for preview deploys (#2171)
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron authored Aug 1, 2023
1 parent 27d7f70 commit 5a6dfcd
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/preview-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,27 @@ jobs:
url: ${{ env.APP_URL }}
steps:
- uses: actions/checkout@v3
- name: Setup Ruby
- name: Install lib deps
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
env:
BUNDLE_GEMFILE: Gemfile
- name: Install demo app deps
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
env:
BUNDLE_GEMFILE: demo/Gemfile
- name: Install Kuby deps
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
env:
BUNDLE_GEMFILE: demo/gemfiles/kuby.gemfile
- name: Docker login
env:
AZURE_ACR_PASSWORD: ${{ secrets.AZURE_ACR_PASSWORD }}
Expand Down

0 comments on commit 5a6dfcd

Please sign in to comment.