Skip to content

Commit

Permalink
add: liara for deploy gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Ja7ad authored Dec 12, 2023
1 parent 6654e1a commit 97595f2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions static/.github/workflows/liara.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CD-Liara
on:
push:
branches:
- gh-pages
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@5
liara deploy --app="book" --api-token="$LIARA_TOKEN" --no-app-logs --port=3000

0 comments on commit 97595f2

Please sign in to comment.