Skip to content

Commit

Permalink
Create auto-deployment.yml
Browse files Browse the repository at this point in the history
아직 배포 불가
  • Loading branch information
wwingyou authored Mar 16, 2024
1 parent 0845488 commit 9a104ec
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/auto-deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: docker images deployment

on:
push:
branches: [ "Dev" ]
pull_request:
branches: [ "Dev" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
- name: Push image to DockerHub
run: docker push ?
- name: Connect to EC2 instance
run: ?
- name: Deploy server
run: ?

0 comments on commit 9a104ec

Please sign in to comment.