build(deps): Bump axios from 1.5.1 to 1.6.0 in /client #189
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: Build and Deploy Client Service | ||
on: | ||
push: | ||
paths: | ||
- 'client/**' | ||
pull_request: | ||
paths: | ||
- 'client/**' | ||
env: | ||
VITE_SESSION_SECRET: ${{ secrets.VITE_SESSION_SECRET }} | ||
DUCKDB_POOL_SIZE: 5 | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout client service | ||
uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
working-directory: client | ||
run: npm ci | ||
- name: Build client | ||
working-directory: client | ||
run: npm run build | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: built-site | ||
path: dist | ||
deploy: | ||
runs-on: ubuntu-latest | ||
if: > | ||
Check failure on line 35 in .github/workflows/deploy-client.yml GitHub Actions / Build and Deploy Client ServiceInvalid workflow file
|
||
github.ref == 'refs/heads/main' && | ||
secrets.DEPLOY_SSH_KEY && | ||
secrets.DEPLOY_HOST_DNS && | ||
secrets.DEPLOY_USERNAME && | ||
secrets.DEPLOY_TARGET_DIR | ||
needs: [build] | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: built-site | ||
- uses: easingthemes/ssh-deploy@main | ||
env: | ||
ARGS: -rlgoDzvc -i --delete | ||
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_KEY }} | ||
REMOTE_HOST: ${{ secrets.DEPLOY_HOST_DNS }} | ||
REMOTE_USER: ${{ secrets.DEPLOY_USERNAME }} | ||
TARGET: ${{ secrets.DEPLOY_TARGET_DIR }} |