Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JeongSH1 authored Dec 9, 2023
1 parent 52bd1ec commit 8f07915
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- master
schedule:
- cron: "*/180 * * * *"

jobs:
deploy:
Expand Down Expand Up @@ -42,4 +44,4 @@ jobs:
docker pull jeongseho1/heatpick-notification
docker stop heatpick-notification-container || true
docker rm heatpick-notification-container || true
docker run -e SSH_HOST=${{ secrets.SSH_HOST }} -e SSH_PORT=${{ secrets.SSH_PORT }} -e SSH_USER=${{ secrets.SSH_USER }} -e SSH_PASSWORD=${{ secrets.SSH_PASSWORD }} -e DB_HOST=${{ secrets.DB_HOST }} -e DB_USER_NAME=${{ secrets.DB_USER_NAME }} -e DB_USER_PASSWORD=${{ secrets.DB_USER_PASSWORD }} -e DB_NAME=${{ secrets.DB_NAME }} -e SA_TYPE=${{ secrets.SA_TYPE }} -e SA_PROJECT_ID=${{ secrets.SA_PROJECT_ID }} -e SA_PRIVATE_KEY_ID=${{ secrets.SA_PRIVATE_KEY_ID }} -e SA_CLIENT_EMAIL=${{ secrets.SA_CLIENT_EMAIL }} -e SA_CLIENT_ID=${{ secrets.SA_CLIENT_ID }} -e SA_AUTH_URI=${{ secrets.SA_AUTH_URI }} -e SA_TOKEN_URI=${{ secrets.SA_TOKEN_URI }} -e SA_AUTH_PROVIDER_CERT_URL=${{ secrets.SA_AUTH_PROVIDER_CERT_URL }} -e SA_CLIENT_CERT_URL=${{ secrets.SA_CLIENT_CERT_URL }} -e SA_UNIVERSE_DOMAIN=${{ secrets.SA_UNIVERSE_DOMAIN }} -d -p 3000:3000 --name heatpick-notification-container jeongseho1/heatpick-notification
docker run -e SSH_HOST=${{ secrets.SSH_HOST }} -e SSH_PORT=${{ secrets.SSH_PORT }} -e SSH_USER=${{ secrets.SSH_USER }} -e SSH_PASSWORD=${{ secrets.SSH_PASSWORD }} -e DB_HOST=${{ secrets.DB_HOST }} -e DB_USER_NAME=${{ secrets.DB_USER_NAME }} -e DB_USER_PASSWORD=${{ secrets.DB_USER_PASSWORD }} -e DB_NAME=${{ secrets.DB_NAME }} -e SA_TYPE=${{ secrets.SA_TYPE }} -e SA_PROJECT_ID=${{ secrets.SA_PROJECT_ID }} -e SA_PRIVATE_KEY_ID=${{ secrets.SA_PRIVATE_KEY_ID }} -e SA_CLIENT_EMAIL=${{ secrets.SA_CLIENT_EMAIL }} -e SA_CLIENT_ID=${{ secrets.SA_CLIENT_ID }} -e SA_AUTH_URI=${{ secrets.SA_AUTH_URI }} -e SA_TOKEN_URI=${{ secrets.SA_TOKEN_URI }} -e SA_AUTH_PROVIDER_CERT_URL=${{ secrets.SA_AUTH_PROVIDER_CERT_URL }} -e SA_CLIENT_CERT_URL=${{ secrets.SA_CLIENT_CERT_URL }} -e SA_UNIVERSE_DOMAIN=${{ secrets.SA_UNIVERSE_DOMAIN }} -d -p 3000:3000 --name heatpick-notification-container jeongseho1/heatpick-notification

0 comments on commit 8f07915

Please sign in to comment.