Skip to content

Commit

Permalink
chore: remove path limitation to test action
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Kopeček committed Jan 22, 2024
1 parent e81a56e commit e72c7d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ jobs:
steps:
- name: Call Watchtower to Update Docker Image
run: |
curl -X POST "${{ env.WATCHTOWER_URL }}" \
-H "Authorization: Bearer ${{ secrets.WATCHTOWER_TOKEN }}" \
-H "Content-Type: application/json"
curl -I -H "Authorization: Bearer ${{ secrets.WATCHTOWER_TOKEN }}" ${{ vars.WATCHTOWER_URL }}
env:
WATCHTOWER_URL: ${{ secrets.WATCHTOWER_URL }}
6 changes: 2 additions & 4 deletions .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [opened, reopened, ready_for_review, synchronize]

jobs:
build-docker:
build:
name: Build and Push Docker Image
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -38,6 +38,4 @@ jobs:
steps:
- name: Call Watchtower to Update Docker Image
run: |
curl -X POST "${{ env.WATCHTOWER_URL }}" \
-H "Authorization: Bearer ${{ secrets.WATCHTOWER_TOKEN }}" \
-H "Content-Type: application/json"
curl -I -H "Authorization: Bearer ${{ secrets.WATCHTOWER_TOKEN }}" ${{ vars.WATCHTOWER_URL }}

0 comments on commit e72c7d9

Please sign in to comment.