Skip to content

first attempt

first attempt #1

Workflow file for this run

name: restore
on:
pull_request:
branches:
- develop
env:
DEPLOY_PATH: /lombarye/full
WORK_DIR: /LOMAYA_BARYERY_BACKEND
jobs:
start_application:

Check failure on line 13 in .github/workflows/restore.yaml

View workflow run for this annotation

GitHub Actions / restore

Invalid workflow file

The workflow is not valid. .github/workflows/restore.yaml (Line: 13, Col: 3): The workflow must contain at least one job with no dependencies.
name: Start application
runs-on: ubuntu-latest
needs: build_and_push_docker_image
environment:
name: prod_deploy
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Create .env file
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST_RESTORE }}
username: deployer
password: ${{ secrets.SSH_PASSWORD_RESTORE }}
port: 122
script: |
cd ${{ env.DEPLOY_PATH }}
rm -f .env_restore
touch .env_restore
echo KEY=${{ secrets.SSH_KEY }} >> .env