mirror of
https://github.com/fmhy/edit.git
synced 2025-07-30 07:42:18 +10:00
ci: deploy api on changes
This commit is contained in:
parent
3c0db10487
commit
9589cd07ec
1 changed files with 7 additions and 1 deletions
8
.github/workflows/deploy-api.yml
vendored
8
.github/workflows/deploy-api.yml
vendored
|
@ -1,13 +1,19 @@
|
||||||
name: Deploy API
|
name: Deploy API
|
||||||
|
|
||||||
|
# Only run this workflow when the API directory changes
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'api/**'
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
name: Release
|
name: Build and Deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue