feat: add in copy of updated shared deployment workflows for now until they are
published
This commit is contained in:
parent
bcb7f86b7f
commit
e245bcbe96
12 changed files with 1113 additions and 0 deletions
30
.github/workflows/trigger-build.yml
vendored
Normal file
30
.github/workflows/trigger-build.yml
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# yaml-language-server: $schema=https://json-schema.org/draft-07/schema#
|
||||
name: Build/Deploy
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [dev, staging, main]
|
||||
|
||||
jobs:
|
||||
trigger-dev-build:
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
if: ${{ github.ref == 'refs/heads/dev' }}
|
||||
uses: badbl0cks/portfolio/.github/workflows/build.yml@dev
|
||||
secrets: inherit
|
||||
trigger-staging-build:
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
if: ${{ github.ref == 'refs/heads/staging' }}
|
||||
uses: badbl0cks/portfolio/.github/workflows/build.yml@staging
|
||||
secrets: inherit
|
||||
trigger-main-build:
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
uses: badbl0cks/portfolio/.github/workflows/build.yml@main
|
||||
secrets: inherit
|
||||
Loading…
Add table
Add a link
Reference in a new issue