Skip to content

Commit

Permalink
Make it so we can trigger nightly from github actions (adobe#6850)
Browse files Browse the repository at this point in the history
  • Loading branch information
LFDanLu committed Aug 8, 2024
1 parent ccfd872 commit 484c0cd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -700,3 +700,12 @@ workflows:
jobs:
- install
- publish-nightly

nightly-manual:
when:
and:
- equal: [ "nightly", << pipeline.parameters.GHA_Action >> ]
- equal: [ "workflow_dispatch", << pipeline.parameters.GHA_Event >>]
jobs:
- install
- publish-nightly
12 changes: 12 additions & 0 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Manual nightly deploy
on: workflow_dispatch

jobs:
trigger-circleci:
runs-on: ubuntu-latest
steps:
- name: Run CircleCI
id: nightly
uses: CircleCI-Public/[email protected]
env:
CCI_TOKEN: ${{ secrets.CCI_TOKEN }}

0 comments on commit 484c0cd

Please sign in to comment.