Skip to content

Commit e871179

Browse files
committed
Make it so we can trigger nightly from github actions
1 parent ccfd872 commit e871179

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.circleci/config.yml

+9
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

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Manual nightly deploy
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
trigger-circleci:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Run CircleCI
10+
id: nightly
11+
uses: CircleCI-Public/[email protected]
12+
env:
13+
CCI_TOKEN: ${{ secrets.CCI_TOKEN }}

0 commit comments

Comments
 (0)