Skip to content

OK DEPLOY geoblock testing #74

OK DEPLOY geoblock testing

OK DEPLOY geoblock testing #74

Workflow file for this run

name: Deploy application
on:
push:
branches: [ live ]
jobs:
build:
if: "contains(github.event.head_commit.message, 'OK DEPLOY')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Deploy media stack
run: |
curl -k -X POST -d 'Redeploy with latest image of same tag' "${{ secrets.MEDIA_STACK_PORTAINER_WEBHOOK }}"
- name: Sleep for 30 seconds
run: sleep 30
# - name: Restart Nginx
# run: |
# curl -k -X POST -d 'Redeploy with latest image of same tag' "${{ secrets.NGINX_PORTAINER_WEBHOOK }}"