Merge pull request #1 from 9oormthonUniv-seoultech/develop #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |