Skip to content

Merge pull request #22 from GApple-T/deprecated-code #7

Merge pull request #22 from GApple-T/deprecated-code

Merge pull request #22 from GApple-T/deprecated-code #7

Workflow file for this run

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: gapple/weeing
stage: main
yaml: >
name: weeing
app: java@17
options:
ports: 8080
env:
- name: mail.password
value: ztxqbnwysuwiwdjt
- name: mail.username
value: gapple.reply
- name: db.url
value: jdbc:postgresql://dpg-clmngb7feb2c73e9kt1g-a.singapore-postgres.render.com/weeing_247b
- name: db.username
value: weeing
- name: db.password
value: ABnMHizkzI6o2wGCRac9EOeSPZHVqv1W
context:
git:
url: git@github.com:${{ github.repository }}.git
ref: ${{ github.ref }}