Skip to content

feat: Shareable Link for saved plan #49

feat: Shareable Link for saved plan

feat: Shareable Link for saved plan #49

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Deploy API Service

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-api.yml (Line: 14, Col: 9): Unrecognized named-value: 'secrets'. Located at position 36 within expression: github.ref == 'refs/heads/main' && secrets.DEPLOY_SSH_KEY && secrets.DEPLOY_HOST_DNS && secrets.DEPLOY_USERNAME && secrets.DEPLOY_TARGET_DIR
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 }}