Merge pull request #33 from AlchemyCMS/dependabot/bundler/nokogiri-1.… #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy with Capistrano | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Ruby | |
uses: actions/setup-ruby@v1 | |
with: | |
ruby-version: '2.6' | |
- name: Restore Bundler cache | |
id: cache | |
uses: actions/cache@v1 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-bundle-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-bundle- | |
- uses: tvdeyen/capistrano-deploy@no-install-deps | |
with: | |
target: production | |
deploy_key: ${{ secrets.DEPLOY_ENC_KEY }} |