From 3e0badb3fc13e7e8729aa4017317041f5e596d39 Mon Sep 17 00:00:00 2001 From: Mojtaba-z Date: Wed, 30 Apr 2025 09:53:15 +0330 Subject: [PATCH] add liara ci/cd github --- .github/workflows/liara.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/liara.yaml diff --git a/.github/workflows/liara.yaml b/.github/workflows/liara.yaml new file mode 100644 index 0000000..809626a --- /dev/null +++ b/.github/workflows/liara.yaml @@ -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