Skip to content

ci: add workflows for deployment and add webserver configs #1

ci: add workflows for deployment and add webserver configs

ci: add workflows for deployment and add webserver configs #1

Workflow file for this run

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: true
jobs:
deploy-nginx:
- name: Deploy Nginx

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

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-nginx.yml

Invalid workflow file

You have an error in your yaml syntax on line 24
uses: easingthemes/ssh-deploy@main
with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-rlgoDzvc -i"
SOURCE: "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