Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# https://github.com/wphillipmoore/standard-actions/blob/develop/.github/workflows/README.md
name: CD

on:
push:
branches: [develop, main]
workflow_dispatch:

permissions:
attestations: write
contents: write
id-token: write
pull-requests: write

jobs:
docs:
uses: wphillipmoore/standard-actions/.github/workflows/cd-docs.yml@v1.5
with:
pre-deploy-command: >-
git clone --depth 1 --branch develop
https://github.com/wphillipmoore/mq-rest-admin-common.git
.mq-rest-admin-common
permissions:
contents: write

release:
if: github.ref == 'refs/heads/main'
uses: wphillipmoore/standard-actions/.github/workflows/cd-release.yml@v1.5
secrets: inherit
20 changes: 4 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# https://github.com/wphillipmoore/standard-actions/blob/develop/.github/workflows/README.md
name: CI

on:
Expand All @@ -19,22 +20,13 @@ concurrency:
cancel-in-progress: true

jobs:

# ---------------------------------------------------------------------------
# Quality
# ---------------------------------------------------------------------------

quality:
uses: wphillipmoore/standard-actions/.github/workflows/ci-quality.yml@v1.5
with:
language: shell
versions: '["latest"]'
container-suffix: base

# ---------------------------------------------------------------------------
# Security and standards
# ---------------------------------------------------------------------------

security:
uses: wphillipmoore/standard-actions/.github/workflows/ci-security.yml@v1.5
with:
Expand All @@ -46,12 +38,8 @@ jobs:
contents: read
security-events: write

# ---------------------------------------------------------------------------
# Release
# ---------------------------------------------------------------------------

release:
uses: wphillipmoore/standard-actions/.github/workflows/ci-release.yml@v1.5
version:
uses: wphillipmoore/standard-actions/.github/workflows/ci-version-bump.yml@v1.5
with:
language: shell
run-release: ${{ inputs.run-release != false }}
run-release: ${{ inputs.run-release != 'false' }}
18 changes: 0 additions & 18 deletions .github/workflows/publish-docs.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/publish-release.yml

This file was deleted.

Loading