-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update changes as per vitepress (#1219)
* update changes as per vitepress * feat: reuse workflows * fix: vitepress syntax * fix: missing end dl tag --------- Co-authored-by: Bojan Rajh <[email protected]>
- Loading branch information
1 parent
16b3650
commit fa7a863
Showing
8 changed files
with
107 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# This workflow is triggered whenever the main branch is updated | ||
name: Deploy to DevHub | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
trigger-deployment: | ||
name: Trigger deployment | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- uses: octokit/[email protected] | ||
name: Trigger deployment | ||
with: | ||
route: POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches | ||
owner: shopware | ||
repo: developer-portal | ||
ref: main | ||
workflow_id: checkout-test-build-deploy.yml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.DEV_HUB_PERSONAL_ACCESS_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Healthcheck | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
|
||
create-healthcheck: | ||
uses: shopware/developer-portal/.github/workflows/healthcheck.yml@main | ||
with: | ||
owner: ${{ github.repository_owner }} | ||
repo: ${{ github.event.repository.name }} | ||
branch: ${{ github.event.pull_request.head.ref }} | ||
sha: ${{ github.event.pull_request.head.sha }} | ||
secrets: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PERSONAL_TOKEN: ${{ secrets.DEV_HUB_PERSONAL_ACCESS_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# This workflow is triggered from developer-portal | ||
name: Update healthcheck | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
owner: | ||
description: "Owner to checkout" | ||
required: true | ||
type: string | ||
repo: | ||
description: "Repo to checkout" | ||
required: true | ||
type: string | ||
check: | ||
description: "Check ID" | ||
required: true | ||
type: string | ||
conclusion: | ||
description: "Healthcheck conclusion" | ||
required: true | ||
type: string | ||
run_id: | ||
description: "Workflow run ID" | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
|
||
update-healthcheck: | ||
uses: shopware/developer-portal/.github/workflows/update-healthcheck.yml@main | ||
with: | ||
owner: ${{ inputs.owner }} | ||
repo: ${{ inputs.repo }} | ||
check: ${{ inputs.check }} | ||
conclusion: ${{ inputs.conclusion }} | ||
run_id: ${{ inputs.run_id }} | ||
secrets: | ||
TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters