File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -243,12 +243,14 @@ jobs:
243243 touch .nojekyll
244244 pwd
245245 ls -l
246+ SRC_BRANCH="${{ github.ref_name }}"
247+ TARGET_BRANCH="binary-osx-$SRC_BRANCH"
246248 git init
247- git checkout --orphan "${{ github.ref_name }} "
249+ git checkout --orphan "$TARGET_BRANCH "
248250 git add .
249251 git commit -m "Deploy from ${{ github.repository }}@${{ github.sha }}"
250252 git status
251- git push --force --quiet "https://x-access-token:${{ secrets.XEMU_DEPLOY_TOKEN }}@github.com/lgblgblgb/xemu-binaries.git" "${{ github.ref_name }} :refs/heads/${{ github.ref_name }} "
253+ git push --force --quiet "https://x-access-token:${{ secrets.XEMU_DEPLOY_TOKEN }}@github.com/lgblgblgb/xemu-binaries.git" "$TARGET_BRANCH :refs/heads/$TARGET_BRANCH "
252254 cd ..
253255
254256 - name : Announce deployment
You can’t perform that action at this time.
0 commit comments