Skip to content

Commit

Permalink
add Asia Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-moha committed Jun 9, 2024
1 parent 674ce43 commit 0f522e4
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/liara.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Asia-Insurance-CD-Liara

on:
push:
branches:
- asia
jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install Liara CLI
run: npm i -g @liara/cli@6

- name: Deploy
env:
LIARA_TOKEN: ${{ secrets.LIARA_API_TOKEN }}
run: |
if [ ${{ github.ref }} == 'refs/heads/asia' ]; then
liara deploy --app="bimeh-asia" --api-token="$LIARA_TOKEN" --no-app-logs
fi

0 comments on commit 0f522e4

Please sign in to comment.