Skip to content

fix envvar

fix envvar #3

Workflow file for this run

name: deploy
on:
push:
tags:
- "v*"
jobs:
deploy:

Check failure on line 8 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: 8, Col: 3): The workflow must contain at least one job with no dependencies.
name: Deploy to production
needs: build
runs-on: prod
steps:
-
name: Checkout
uses: actions/checkout@master
-
name: Copy docker-compose.yaml
run: |
cp -f ./deploy/docker-compose.yaml ${{ secrets.PROJECT_PATH }}/docker-compose.yaml
-
name: Pull changes and restart
run: |
cd ${{ secrets.PROJECT_PATH }}
docker-compose down --remove-orphans
docker-compose pull
docker-compose up -d