Files
cloud-configuration/.github/workflows/certbot-update.yaml
T

22 lines
508 B
YAML

name: certbot-update.yaml
on:
workflow_dispatch:
jobs:
renew-certs:
name: Update nginx
runs-on: ubuntu-latest
strategy:
matrix:
env: [ test ]
environment: ${{ matrix.env }}
steps:
- name: Update Nginx
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.DEPLOY_HOST }}
username: ${{ secrets.DEPLOY_USER }}
key: ${{ secrets.DEPLOY_KEY }}
script: |
docker service update --force nginx_nginx-proxy