Skip to content

Merge pull request #8 from Read-bird/feature/dw #6

Merge pull request #8 from Read-bird/feature/dw

Merge pull request #8 from Read-bird/feature/dw #6

Workflow file for this run

name: Deploy to cloudtype
on:
push:
branches:
- develop
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: .env setting
run: |
echo "REACT_APP_KAKAO_API_KEY=${{ secrets.REACT_APP_KAKAO_API_KEY }}" >> .env
echo "REACT_APP_SERVER_PATH=${{ secrets.REACT_APP_SERVER_PATH }}" >> .env
env:
REACT_APP_KAKAO_API_KEY: ${{ secrets.REACT_APP_KAKAO_API_KEY }}
REACT_APP_SERVER_PATH: ${{ secrets.REACT_APP_SERVER_PATH }}
- name: Deploy
uses: cloudtype-github-actions/deploy@v1
with:
token: ${{ secrets.CLOUDTYPE_TOKEN }}
project: hyu630115/touchwave-server
stage: main
yaml: |
name: readbird-fe
app: web
options:
nodeversion: "16"
build: ""
spa: true
healthz: ""
context:
git:
url: [email protected]:${{ github.repository }}.git
ref: ${{ github.ref }}