build(deps): Bump urllib3 from 1.26.14 to 1.26.17 in /api #67
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 API Service | ||
on: | ||
push: | ||
paths: | ||
- 'api/**' | ||
pull_request: | ||
paths: | ||
- 'api/**' | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
if: > | ||
Check failure on line 14 in .github/workflows/deploy-api.yml GitHub Actions / Deploy API ServiceInvalid workflow file
|
||
github.ref == 'refs/heads/main' && | ||
secrets.DEPLOY_SSH_KEY && | ||
secrets.DEPLOY_HOST_DNS && | ||
secrets.DEPLOY_USERNAME && | ||
secrets.DEPLOY_TARGET_DIR | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: rm -rf .git | ||
- 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 }} | ||
SCRIPT_BEFORE: sudo supervisorctl stop substrait-fiddle:* | ||
SCRIPT_AFTER: sudo chown -R www-data:www-data ${{ secrets.DEPLOY_TARGET_DIR }} && sudo supervisorctl start substrait-fiddle:* | ||
TARGET: ${{ secrets.DEPLOY_TARGET_DIR }} |