33 lines
582 B
YAML
33 lines
582 B
YAML
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
|