Skip to content

Update liara.yaml

Update liara.yaml #8

Workflow file for this run

name: CD-Liara
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install Liara CLI
run: npm i -g @liara/cli@5
- name: Deploy
env:
LIARA_TOKEN: ${{ secrets.LIARA_API_TOKEN }}
run: |
if [ ${{ github.ref }} == 'refs/heads/master' ]; then
liara deploy --app="mohamadnematizadeh" --api-token="$LIARA_TOKEN" --no-app-logs
fi