mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-16 02:18:16 -07:00
59 lines
1.3 KiB
YAML
59 lines
1.3 KiB
YAML
name: Push & Release 🌍
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- release*
|
|
paths-ignore:
|
|
- '**/*.md'
|
|
|
|
jobs:
|
|
automation:
|
|
name: Automation 🎛️
|
|
if: ${{ github.repository == 'jellyfin/jellyfin-web' }}
|
|
uses: ./.github/workflows/__automation.yml
|
|
secrets: inherit
|
|
|
|
main:
|
|
name: 'Unstable release 🚀⚠️'
|
|
uses: ./.github/workflows/__package.yml
|
|
with:
|
|
commit: ${{ github.sha }}
|
|
|
|
quality_checks:
|
|
name: Quality checks 👌🧪
|
|
if: ${{ always() && !cancelled() }}
|
|
uses: ./.github/workflows/__quality_checks.yml
|
|
permissions: {}
|
|
with:
|
|
commit: ${{ github.sha }}
|
|
|
|
codeql:
|
|
name: GitHub CodeQL 🔬
|
|
uses: ./.github/workflows/__codeql.yml
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
with:
|
|
commit: ${{ github.sha }}
|
|
|
|
deploy:
|
|
name: Deploy 🚀
|
|
if: ${{ github.repository == 'jellyfin/jellyfin-web' }}
|
|
uses: ./.github/workflows/__deploy.yml
|
|
needs:
|
|
- main
|
|
permissions:
|
|
contents: read
|
|
deployments: write
|
|
secrets: inherit
|
|
with:
|
|
branch: ${{ github.ref_name }}
|
|
comment:
|