Skip to content

Commit

Permalink
main.yml updated
Browse files Browse the repository at this point in the history
  • Loading branch information
EvaMart committed Dec 20, 2023
1 parent c9d75fa commit 339a2ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci
name: build and redeploy

on:
release:
Expand All @@ -22,7 +22,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: "{{defaultContext}}:api"
push: true
Expand All @@ -37,5 +37,3 @@ jobs:
uses: joelwmale/webhook-action@master
env:
WEBHOOK_URL: ${{ secrets.DEPLOY_WEBHOOK_URL }}
data: "{ 'myField': 'myFieldValue'}"

2 changes: 2 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ verify_ssl = true
[dev-packages]

[packages]
fastapi = {extras = ["all"], version = "*"}
python-dotenv = "*"

[requires]
python_version = "3.6"

0 comments on commit 339a2ae

Please sign in to comment.