Skip to content

Commit

Permalink
----
Browse files Browse the repository at this point in the history
  • Loading branch information
tnsoftbear committed Aug 17, 2024
1 parent 7c67a76 commit b73e789
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/publish-to-ghcr.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: publish-to-ghcr

# on:
# workflow_run:
# workflows: ["unit-testing"]
# types:
# - completed
# push:
# branches:
# - main

on:
push:
branches:
- main
workflow_run:
workflows: ["unit-testing"]
types:
- completed

permissions:
contents: read # Чтение содержимого репозитория
# contents: read # Чтение содержимого репозитория
packages: write # Публикация в GitHub Container Registry

jobs:
publish-to-repo:
# if: >
# ${{ github.event.workflow_run.conclusion == 'success'
# && github.event.workflow_run.head_branch == 'main'
# && github.event.workflow_run.event == 'push' }}
if: >
${{ github.event.workflow_run.conclusion == 'success'
&& github.event.workflow_run.head_branch == 'main'
&& github.event.workflow_run.event == 'push' }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down
1 change: 0 additions & 1 deletion internal/app/action/loading.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ func FindParcelLockersByCustomerId(
ctx.JSON(http.StatusInternalServerError, gin.H{"id": id, "message": err.Error()})
return
}

ctx.JSON(http.StatusOK, gin.H{"parcel_lockers": parcel_lockers})
}
}

0 comments on commit b73e789

Please sign in to comment.