Skip to content

Commit 171088f

Browse files
committed
gh clone
1 parent d4a2684 commit 171088f

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

.github/workflows/template_update_gh.yaml

+2-11
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,8 @@ jobs:
3131
- name: Create Github project instance
3232
run: cookiecutter . --no-input --config-file cookiecutter_default_gh.yaml
3333

34-
3534
- name: Remote checkout
36-
uses: actions/checkout@v4
37-
with:
38-
path: ds-gh-default2
39-
ref: main
40-
repository: karllu3/ds-lk-default
41-
token: ${{ env.GH_TEST_REPO_TOKEN }}
42-
fetch-depth: 0
43-
persist-credentials: false
44-
ssh-user: karllu3
35+
run: git clone https://oauth2:${{ secrets.REPO_KEY_GITLAB }}@github.com/lukasz.karlowski/karllu3/ds-lk-default.git ds-gh-default2
4536

4637
- name: Set safe directory
4738
run: |
@@ -79,5 +70,5 @@ jobs:
7970
working-directory: ./ds-gh-default2
8071
run: |
8172
git commit -m "Repo after creation"
82-
git push --set-upstream origin ds-default-check
73+
git push --set-upstream origin ds-default-check -f
8374

.github/workflows/template_update_gl.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ jobs:
7171
working-directory: ./ds-gl-default2
7272
run: |
7373
git commit -m "Repo after creation"
74-
git push --set-upstream origin ds-default-check
74+
git push --set-upstream origin ds-default-check -f
7575

0 commit comments

Comments
 (0)