Skip to content

remove unused code, add dependency to staging and production #3

remove unused code, add dependency to staging and production

remove unused code, add dependency to staging and production #3

Workflow file for this run

name: Production
on:
workflow_run:
workflows:
- Rspec
branches:
- master
release:
types: [published]
jobs:
deploy-to-production:
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.5
bundler-cache: true
- uses: miloserdow/capistrano-deploy@v3
with:
target: production
deploy_key: ${{ secrets.PROD_DEPLOY_KEY }}