Skip to content

Deploy Nginx Reverse Proxy Config #4

Deploy Nginx Reverse Proxy Config

Deploy Nginx Reverse Proxy Config #4

Workflow file for this run

name: Deploy Nginx Reverse Proxy Config
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
tags:
description: 'Test scenario tags'
required: false
type: boolean
environment:
description: 'Environment to run tests against'
type: environment
required: false
jobs:
deploy-nginx:
steps:
- name: Deploy Nginx
runs-on: ubuntu-latest

Check failure on line 29 in .github/workflows/deploy-nginx.yml

View workflow run for this annotation

GitHub Actions / Deploy Nginx Reverse Proxy Config

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-nginx.yml (Line: 29, Col: 9): Unexpected value 'runs-on' .github/workflows/deploy-nginx.yml (Line: 27, Col: 5): Required property is missing: runs-on
uses: easingthemes/ssh-deploy@main
with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-rlgoDzvc -i"
SOURCE: "deploy/webserver/proxy/test.gallowhead.com.conf"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: "/etc/nginx/sites-enabled/"
EXCLUDE: "/dist/, /node_modules/"
SCRIPT_BEFORE: |
echo "Starting deployment ..."
SCRIPT_AFTER: |
ln -s /etc/nginx/sites-available/test.gallowhead.com.conf /etc/nginx/sites-enabled/ && nginx -t