Skip to content

Commit a010f67

Browse files
committed
fixed git checkout
1 parent 399e82c commit a010f67

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/copy-to-dist.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,9 @@ jobs:
3838
with:
3939
ref: ${{ inputs.source-branch }}
4040
path: 'source'
41-
- name: Checkout target
42-
uses: actions/checkout@v4
43-
with:
44-
repository: ${{ inputs.target-repository }}
45-
ref: ${{ inputs.target-branch }}
46-
path: 'target'
4741
- name: Copy to target
4842
run: |
43+
git clone "https://${{ secrets.github-token }}@github.com/${{ inputs.target-repository vcvc }}.git" target
4944
cd source
5045
cp ${{ inputs.files }} ../target/
5146
cd ../target

0 commit comments

Comments
 (0)