Skip to content

Commit

Permalink
Make it so we can trigger nightly from github actions (#6850)
Browse files Browse the repository at this point in the history
  • Loading branch information
LFDanLu authored 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 }}

1 comment on commit 484c0cd

@rspbot
Copy link

@rspbot rspbot commented on 484c0cd Aug 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.