Skip to content

Commit

Permalink
add ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Najmabadi committed Feb 4, 2024
1 parent 2aa928b commit fdc3e62
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/liara.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CD-Liara
on:
push:
branches:
- blog-s3
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@5
liara deploy --app="php-blog" --api-token="$LIARA_TOKEN" --no-app-logs

0 comments on commit fdc3e62

Please sign in to comment.