Skip to content

Merge pull request #24 from SoftBananas/ci-cd #9

Merge pull request #24 from SoftBananas/ci-cd

Merge pull request #24 from SoftBananas/ci-cd #9

Workflow file for this run

name: Deploy
on:
push:
branches: [ main-banana ]
jobs:
server_update:

Check failure on line 8 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 8, Col: 3): The workflow must contain at least one job with no dependencies.
needs: push_to_registry
name: Update server by ssh
runs-on: ubuntu-latest
steps:
- name: Connect and run script
uses: SoftBananas/ssh-action@v1.0.3
with:
host: ${{ secrets.SERVER_HOST }}
port: ${{ secrets.SERVER_PORT }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
script_stop: true
script: bash scripts/deploy.sh