Skip to content

Commit

Permalink
Create deploy-main.yml
Browse files Browse the repository at this point in the history
github actions을 통한 ci/cd 구축
  • Loading branch information
sooieese00 authored Sep 10, 2024
1 parent 9207db8 commit 1a0601f
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
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: pocket4cut
app: node@20
options:
ports: "3000"
install: npm install
start: npm start
env:
- name: KAKAO_ID
value: 79ba33057b6d1196e5d7ee3368fcaf5e
- name: COOKIE_SECRET
value: P0CKET4CUT123
- name: PORT
value: "3000"
buildenv: []
context:
git:
url: [email protected]:${{ github.repository }}.git
ref: ${{ github.ref }}

0 comments on commit 1a0601f

Please sign in to comment.