Skip to content

chore(deps): bump axios from 0.30.0 to 1.12.2 in /client #662

chore(deps): bump axios from 0.30.0 to 1.12.2 in /client

chore(deps): bump axios from 0.30.0 to 1.12.2 in /client #662

Workflow file for this run

name: Client CI/CD
on: [ push, workflow_dispatch ]
env:
NEXT_PUBLIC_BASE_PATH: ""
jobs:
deploy:
name: Deploy client app
# if: (github.head_ref || github.ref_name) == 'main' || (github.head_ref || github.ref_name) == 'staging'
if: (github.head_ref || github.ref_name) == 'staging'
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Install ruby + gems
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.2
bundler-cache: true
working-directory: client
- name: Extract branch name
shell: bash
run: |
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
echo "##[set-output name=branch-upper;]$(echo ${GITHUB_REF#refs/heads/} | tr a-z A-Z )"
id: extract_branch
- name: Deploy using capistrano
uses: miloserdow/capistrano-deploy@master
with:
working-directory: client
target: ${{ steps.extract_branch.outputs.branch == 'main' && 'production' || steps.extract_branch.outputs.branch }}
deploy_key: ${{ secrets.DEPLOY_KEY_PASSWORD }}
enc_rsa_key_val: ${{ secrets.DEPLOY_ENC_KEY }}