Skip to content

Commit

Permalink
Forcing current branch mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan.danehy@pnnl.gov committed Oct 16, 2023
1 parent 5357a87 commit fbcec85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ornl_ascent_mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@ jobs:
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch

- name: git checkout
run: git checkout ${{ steps.extract_branch.outputs.branch }}

# Action for mirroring your commits to a different remote repository
- uses: yesolutions/mirror-action@master
# Give actions access to some secrets
with:
PUSH_ALL_REFS: "false"
GIT_REF: ${{ steps.extract_branch.outputs.branch }}
GIT_PUSH_ARGS: '--tags --force --push-option=ci.skip'
REMOTE: 'https://code.ornl.gov/ecpcitest/exasgd/resolve'
GIT_USERNAME: ${{ secrets.GIT_USER }}
Expand Down

0 comments on commit fbcec85

Please sign in to comment.