Skip to content

Feat : 빌드 스크립트 수정 #15

Feat : 빌드 스크립트 수정

Feat : 빌드 스크립트 수정 #15

Workflow file for this run

name: Deploy to cloudtype
on:
push:
branches:
- master
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: jeonghwanmin/penple
stage: main
yaml: >
name: penple-server
app: node@18
options:
env:
- name: DATABASE_URL
value: ${{ secrets.DATABASE_URL }}
ports: "8080"
build: npm run build
start: npm run start
install: npm install --no-update-notifier
context:
git:
url: git@github.com:${{ github.repository }}.git
ref: ${{ github.ref }}
preset: nest.js