mirror of
https://github.com/fmhy/edit.git
synced 2025-07-29 23:32:17 +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
|
||||
|
||||
# Only run this workflow when the API directory changes
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'api/**'
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
name: Release
|
||||
name: Build and Deploy
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue