add liara ci/cd github
This commit is contained in:
20
.github/workflows/liara.yaml
vendored
Normal file
20
.github/workflows/liara.yaml
vendored
Normal file
@@ -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: "22"
|
||||||
|
- name: update-liara
|
||||||
|
env:
|
||||||
|
LIARA_TOKEN: ${{ secrets.LIARAAPITOKEN }}
|
||||||
|
run: |
|
||||||
|
npm i -g @liara/cli@7
|
||||||
|
liara deploy --app="apidam" --api-token="wQuKB8HtggF1NNwyoDoAPu8nwcIuRLfG" --no-app-logs
|
||||||
Reference in New Issue
Block a user