Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
patthapolkit committed Jul 2, 2024
1 parent 05df103 commit d9a3e92
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- "main"

jobs:
build:
build and deploy:
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
Expand All @@ -21,11 +21,6 @@ jobs:
with:
push: true
tags: ${{ vars.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:${{ github.ref_name }}
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: SSH and deploy
env:
PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
Expand Down

0 comments on commit d9a3e92

Please sign in to comment.