diff --git a/.github/workflows/ornl_ascent_mirror.yaml b/.github/workflows/ornl_ascent_mirror.yaml index 7ff560e9..8725f00b 100644 --- a/.github/workflows/ornl_ascent_mirror.yaml +++ b/.github/workflows/ornl_ascent_mirror.yaml @@ -5,10 +5,7 @@ on: pull_request: push: branches: - - develop - ci - - main - jobs: # To test on HPC resources we must first mirror the repo and then trigger a pipeline push: @@ -28,13 +25,13 @@ jobs: - uses: yesolutions/mirror-action@master # Give actions access to some secrets with: - GIT_REF: 'remotes/origin/ci' + GIT_REF: 'refs/heads/ci' PUSH_ALL_REFS: "false" GIT_PUSH_ARGS: '--tags --force --push-option=ci.skip' REMOTE: 'https://code.ornl.gov/ecpcitest/exasgd/resolve' GIT_USERNAME: ${{ secrets.GIT_USER }} GIT_PASSWORD: ${{ secrets.ORNL_ASCENT_GIT_PASSWORD }} - + # Trigger CI pipeline since it was skipped in the above push - name: Trigger Pipeline run: curl -X POST -F token=${{ secrets.ORNL_ASCENT_PIPELINE_TRIGGER }} -F ref=${{ steps.extract_branch.outputs.branch }} https://code.ornl.gov/api/v4/projects/13292/trigger/pipeline \ No newline at end of file