Skip to content

test: Add comment to test GitHub Actions token #14

test: Add comment to test GitHub Actions token

test: Add comment to test GitHub Actions token #14

name: Deploy Nginx Configuration
on:
push:
branches:
- main
jobs:
deploy-nginx:
runs-on: self-hosted
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: List repository files
run: ls -la
- name: Deploy nginx configuration
run: |
sudo /usr/bin/cp -v ./nginx_securefit.conf /etc/nginx/conf.d/nginx_securefit.conf
sudo /usr/sbin/nginx -t
sudo /usr/bin/systemctl reload nginx