Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kpeel5839 committed Mar 17, 2022
1 parent 10707db commit 5ab71ee
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ on:
jobs:
build:
runs-on: ubuntu-latest
# services: # 서비스할 목록들 (ex. Redis, Postgresql ...)
# mysql: # 사용할 서비스 명
# image: mysql:5.7
# env: # 사용할 서비스의 환경설정
# MYSQL_USER: dogvelopers
# MYSQL_PASSWORD: dogs0209!!
# MYSQL_ROOT_PASSWORD: root
# MYSQL_DATABASE: PLAM
# ports: # 열어줄 포트, 8080:3306 형태로도 가능
# - 3306
services: # 서비스할 목록들 (ex. Redis, Postgresql ...)
mysql: # 사용할 서비스 명
image: mysql:5.7
env: # 사용할 서비스의 환경설정
MYSQL_USER: dogvelopers
MYSQL_PASSWORD: dogs0209!!
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: PLAM
ports: # 열어줄 포트, 8080:3306 형태로도 가능
- 3306
env:
S3_BUCKET_NAME: dogveloper-build
# bucket name 변수 생성
Expand All @@ -43,7 +43,8 @@ jobs:
- name: Set databases
run: |
mysql -u root -p
mysql -u root -p \n
${{ env.MYSQL_PASSWORD }} \n
source /home/runner/work/dogVelopersServer/dogVelopersServer/dogveloper.sql
# - name: install MySql
# run: apt-get install mysql-server
Expand Down

0 comments on commit 5ab71ee

Please sign in to comment.