Skip to content

Commit

Permalink
Merge pull request #3 from 9oormthonUniv-seoultech/main
Browse files Browse the repository at this point in the history
chore: main, develop 머지
  • Loading branch information
sooieese00 authored Sep 16, 2024
2 parents a200a4c + bd0df6b commit c338a91
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 3 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy-db.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy to cloudtype
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Connect deploy key
uses: cloudtype-github-actions/connect@v1
with:
token: ${{ secrets.CLOUDTYPE_TOKEN }}
ghtoken: ${{ secrets.GHP_TOKEN }}
- name: Deploy
uses: cloudtype-github-actions/deploy@v1
with:
token: ${{ secrets.CLOUDTYPE_TOKEN }}
project: sooieese/project-team-web-be11
stage: main
yaml: |
name: pocketdb
app: [email protected]
options:
- name: rootpassword
secret: dbrootpasswordsecret
context:
preset: mariadb
git:
url: [email protected]:${{ github.repository }}.git
ref: ${{ github.ref }}
18 changes: 15 additions & 3 deletions .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,25 @@ jobs:
start: npm start
env:
- name: KAKAO_ID
value: 79ba33057b6d1196e5d7ee3368fcaf5e
secret: KAKAO_ID
- name: COOKIE_SECRET
value: P0CKET4CUT123
secret: COOKIE_SECRET
- name: PORT
value: "3000"
- name: JWT_SECRET
secret: JWT_SECRET
- name: DB_HOST
secret: DB_HOST
- name: DB_NAME
secret: DB_NAME
- name: DB_USER
secret: DB_USER
- name: DB_PASSWORD
secret: DB_PASSWORD
- name: DB_PORT
secret: DB_PORT
buildenv: []
context:
git:
url: [email protected]:${{ github.repository }}.git
ref: ${{ github.ref }}
ref: ${{ github.ref }}

0 comments on commit c338a91

Please sign in to comment.