Skip to content

Merge pull request #320 from ErfanMomeni/patch-1 #296

Merge pull request #320 from ErfanMomeni/patch-1

Merge pull request #320 from ErfanMomeni/patch-1 #296

Workflow file for this run

name: CD-Liara
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: gh-pages
- uses: actions/setup-node@v3
with:
node-version: "16"
- name: update-liara
env:
LIARA_TOKEN: ${{ secrets.LIARA_API_TOKEN }}
run: |
npm i -g @liara/cli@3
liara deploy --app="book" --api-token="$LIARA_TOKEN" --detach