Skip to content

Commit

Permalink
Update liara.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamadNematizadeh authored May 28, 2024
1 parent d5cc4cc commit ef3f66f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/liara.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

name: CD-Liara

on:
push:
branches:
Expand All @@ -14,14 +13,9 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: "18"

- name: Install Liara CLI
run: npm i -g @liara/cli@5

- name: Deploy
- name: update-liara
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
npm i -g @liara/cli@5
liara deploy --app="mohamadnematizadehE" --api-token="$LIARA_TOKEN" --no-app-logs --port=3000

0 comments on commit ef3f66f

Please sign in to comment.