Add Wishlist CI/CD on media host
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
name: Wishlist CI/CD
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "stacks/wishlist/**"
|
||||
- "scripts/deploy-wishlist.sh"
|
||||
- ".gitea/workflows/wishlist.yml"
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Deploy Wishlist
|
||||
runs-on: docker-media-01
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: builtin:checkout
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Validate deployment script
|
||||
run: bash -n scripts/deploy-wishlist.sh
|
||||
|
||||
- name: Deploy Wishlist
|
||||
run: ./scripts/deploy-wishlist.sh
|
||||
Reference in New Issue
Block a user