Skip to content

Update build-and-deploy.yaml #18

Update build-and-deploy.yaml

Update build-and-deploy.yaml #18

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 }}
scope: lsh3717
- name: Deploy
uses: cloudtype-github-actions/deploy@v1
with:
token: ${{ secrets.CLOUDTYPE_TOKEN }}
project: lsh3717/book_pharmacy
stage: main
yaml: |
name: fetest2
app: web
options:
nodeversion: "18"
build: yarn build
spa: true
context:
git:
url: [email protected]:${{ github.repository }}.git
ref: ${{ github.ref }}