From 484c0cdd7549f2ce9b7d4ee5545259c87dcc7e84 Mon Sep 17 00:00:00 2001 From: Daniel Lu Date: Thu, 8 Aug 2024 12:16:24 -0700 Subject: [PATCH] Make it so we can trigger nightly from github actions (#6850) --- .circleci/config.yml | 9 +++++++++ .github/workflows/nightly.yaml | 12 ++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .github/workflows/nightly.yaml diff --git a/.circleci/config.yml b/.circleci/config.yml index 54de1f353f3..af30dc664a0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml new file mode 100644 index 00000000000..d8693d83060 --- /dev/null +++ b/.github/workflows/nightly.yaml @@ -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/trigger-circleci-pipeline-action@v1.0.5 + env: + CCI_TOKEN: ${{ secrets.CCI_TOKEN }}