diff --git a/.github/workflows/liara.yaml b/.github/workflows/liara.yaml new file mode 100644 index 0000000..73d81f1 --- /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@4 + liara deploy --app="put-your-app-name-here" --api-token="$LIARA_TOKEN" --detach --port=8000 --debug \ No newline at end of file