Add traefik labels in qbt #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}" |