Deploy To Staging #239
Workflow file for this run
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 To Staging | |
on: workflow_dispatch | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
BRANCH: ${{github.ref_name}} | |
steps: | |
- name: Install system dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y ffmpeg libidn11-dev imagemagick libpam-dev libldap2-dev | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
# ruby-version: 3.0.6 not needed with a .ruby-version file | |
bundler-cache: true | |
cache-version: 1 | |
- name: Deploy to Staging | |
uses: miloserdow/capistrano-deploy@master | |
with: | |
target: staging | |
deploy_key: ${{ secrets.DEPLOY_ENC_KEY }} |