Skip to content

Commit

Permalink
liara CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
alisharify7 committed Dec 13, 2023
1 parent 0fc5cc7 commit e59f03f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/liara.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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: update-liara
env:
LIARA_TOKEN: ${{ secrets.LIARA_API_TOKEN }}
run: |
npm i -g @liara/cli@4
liara deploy --app="put-your-app-name-here" --api-token="$LIARA_TOKEN" --detach --port=8000 --debug

0 comments on commit e59f03f

Please sign in to comment.