Skip to content

Merge pull request #131 from JNU-econovation/feat-moly #12

Merge pull request #131 from JNU-econovation/feat-moly

Merge pull request #131 from JNU-econovation/feat-moly #12

Workflow file for this run

name: Deploy to cloudtype
on:
push:
branches: [ "dev" ]
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: pon05114/jnuwiki
stage: main
yaml: >
name: jnu-wiki-be
app: java@17
options:
ports: 8080
env:
- name: JWT_SECRET_KEY
value: ${{ secrets.JWT_SECRET_KEY }}
- name: JDBC_DATABASE_URL
value: ${{ secrets.JDBC_DATABASE_URL }}
- name: JDBC_DATABASE_USERNAME
value: ${{ secrets.JDBC_DATABASE_USERNAME }}
- name: JDBC_DATABASE_DRIVER
value: com.mysql.cj.jdbc.Driver
- name: JDBC_DATABASE_PASSWORD
value: ${{ secrets.JDBC_DATABASE_PASSWORD }}
context:
git:
url: [email protected]:${{ github.repository }}.git
ref: ${{ github.ref }}
preset: java-springboot