Skip to content

Merge pull request #13 from Art-Chain/ci/1 #2

Merge pull request #13 from Art-Chain/ci/1

Merge pull request #13 from Art-Chain/ci/1 #2

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: Deploy
uses: cloudtype-github-actions/deploy@v1
with:
token: ${{ secrets.CLOUDTYPE_TOKEN }}
project: loveysuby/farmpro-api
stage: main
yaml: |
name: farmpro-backend
app: java@17
options:
ports: 8080
buildenv: []
context:
git:
url: git@github.com:${{ github.repository }}.git
ref: ${{ github.ref }}