-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,16 @@ 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-default | ||
ref: main | ||
repository: karllu3/ds-lk-default | ||
fetch-depth: 0 | ||
persist_credentials: true | ||
|
||
|
||
- name: Check where is .ssh | ||
run: find / -name ".ssh" -exec ls -Shl {} + | ||
|
||
|
@@ -34,25 +44,13 @@ jobs: | |
git config --global --add safe.directory /__w/ds-template/ds-template | ||
ls | ||
- name: Prepare git1 | ||
working-directory: ./ds-gh-default | ||
run: | | ||
git config --global init.defaultBranch main | ||
- name: Prepare git2 | ||
working-directory: ./ds-gh-default | ||
run: git init | ||
|
||
|
||
- name: Prepare git4 | ||
working-directory: ./ds-gh-default | ||
run: git remote add origin [email protected]:karllu3/ds-lk-default.git | ||
|
||
|
||
- name: Prepare git5 | ||
working-directory: ./ds-gh-default | ||
run: git add . | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "lukasz karlowski" | ||
git checkout -b ds-default-check | ||
git add . | ||
- name: Validate package build | ||
|
@@ -70,9 +68,6 @@ jobs: | |
- name: Push repo | ||
working-directory: ./ds-gh-default | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "lukasz karlowski" | ||
git checkout -b ds-default-check | ||
git commit -m "Repo after creation" | ||
git push --set-upstream origin ds-default-check | ||