Skip to content

Commit

Permalink
chore: especify environment on deploy github action
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocroh committed May 13, 2024
1 parent f82d0f7 commit 0543e6b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ env:
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: Production
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -25,8 +27,8 @@ jobs:
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: $DOCKER_USERNAME
password: $DOCKER_TOKEN
username: ${{ vars.DOCKER_USERNAME }}
password: ${{ secrets.$DOCKER_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v3
Expand Down

0 comments on commit 0543e6b

Please sign in to comment.