Skip to content

Merge pull request #5 from 4l3j0Ok/development #1

Merge pull request #5 from 4l3j0Ok/development

Merge pull request #5 from 4l3j0Ok/development #1

Workflow file for this run

name: deploy
on:
push:
tags:
- "v*"
jobs:
deploy:
name: Deploy to production
runs-on: prod
steps:
-
name: Checkout
uses: actions/checkout@master
-
name: Copy docker-compose.yaml
run: |

Check failure on line 17 in .github/workflows/deploy.yaml

View workflow run for this annotation

GitHub Actions / deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yaml (Line: 17, Col: 12): Unrecognized named-value: 'PROJECT_PATH'. Located at position 1 within expression: PROJECT_PATH .github/workflows/deploy.yaml (Line: 21, Col: 12): Unrecognized named-value: 'PROJECT_PATH'. Located at position 1 within expression: PROJECT_PATH
cp -f ./deploy/docker-compose.yaml ${{ PROJECT_PATH }}/docker-compose.yaml
-
name: Pull changes and restart
run: |
cd ${{ PROJECT_PATH }}
docker-compose down --remove-orphans
docker-compose pull
docker-compose up -d