Skip to content

Commit 484c0cd

Browse files
authored
Make it so we can trigger nightly from github actions (#6850)
1 parent ccfd872 commit 484c0cd

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.circleci/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,3 +700,12 @@ workflows:
700700
jobs:
701701
- install
702702
- publish-nightly
703+
704+
nightly-manual:
705+
when:
706+
and:
707+
- equal: [ "nightly", << pipeline.parameters.GHA_Action >> ]
708+
- equal: [ "workflow_dispatch", << pipeline.parameters.GHA_Event >>]
709+
jobs:
710+
- install
711+
- publish-nightly

.github/workflows/nightly.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Manual nightly deploy
2+
on: workflow_dispatch
3+
4+
jobs:
5+
trigger-circleci:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Run CircleCI
9+
id: nightly
10+
uses: CircleCI-Public/trigger-circleci-pipeline-action@v1.0.5
11+
env:
12+
CCI_TOKEN: ${{ secrets.CCI_TOKEN }}

0 commit comments

Comments
 (0)