Skip to content

Commit

Permalink
ci: combine workflow triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Hagg committed Sep 1, 2021
1 parent 09d18a4 commit 614d6ed
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 40 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/docker-build.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/docs-trigger.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/external.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Trigger external workflows

on:
push:
branches:
- develop

jobs:
run-workflows:
runs-on: ubuntu-latest
steps:
- name: Build and publish docs website
uses: Breakthrough-Energy/actions/workflow-trigger@main
with:
repo: docs
branch: master
workflow_id: 2386877
token: ${{ secrets.CI_TOKEN_CLONE_REPO }}

- name: Build and publish docker image
uses: Breakthrough-Energy/actions/workflow-trigger@main
with:
repo: plug
workflow_id: 12413223
token: ${{ secrets.CI_TOKEN_CLONE_REPO }}

0 comments on commit 614d6ed

Please sign in to comment.