diff --git a/.github/.workflows/liara.yaml b/.github/.workflows/liara.yaml new file mode 100644 index 0000000..018c1b7 --- /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: "18" + - name: update-liara + env: + LIARA_TOKEN: ${{ secrets.LIARA_API_TOKEN }} + run: | + npm i -g @liara/cli@6 + liara deploy --app="asan-service-gps" --api-token="$LIARA_TOKEN" --no-app-logs --port=3000 \ No newline at end of file