Skip to content

Commit

Permalink
gh clone
Browse files Browse the repository at this point in the history
  • Loading branch information
karllu3 committed Jul 26, 2024
1 parent d4a2684 commit 171088f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/template_update_gh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,8 @@ jobs:
- name: Create Github project instance
run: cookiecutter . --no-input --config-file cookiecutter_default_gh.yaml


- name: Remote checkout
uses: actions/checkout@v4
with:
path: ds-gh-default2
ref: main
repository: karllu3/ds-lk-default
token: ${{ env.GH_TEST_REPO_TOKEN }}
fetch-depth: 0
persist-credentials: false
ssh-user: karllu3
run: git clone https://oauth2:${{ secrets.REPO_KEY_GITLAB }}@github.com/lukasz.karlowski/karllu3/ds-lk-default.git ds-gh-default2

- name: Set safe directory
run: |
Expand Down Expand Up @@ -79,5 +70,5 @@ jobs:
working-directory: ./ds-gh-default2
run: |
git commit -m "Repo after creation"
git push --set-upstream origin ds-default-check
git push --set-upstream origin ds-default-check -f
2 changes: 1 addition & 1 deletion .github/workflows/template_update_gl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ jobs:
working-directory: ./ds-gl-default2
run: |
git commit -m "Repo after creation"
git push --set-upstream origin ds-default-check
git push --set-upstream origin ds-default-check -f

0 comments on commit 171088f

Please sign in to comment.