Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mk-software-pl committed Jun 5, 2024
1 parent 4371673 commit 81d019f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/scripts/publishNuInstallationExample.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ if [ -z "$ACCESS_TOKEN" ]; then
exit 1
fi

git config --global credential.useHttpPath true
#git config --global credential.useHttpPath true

rm -rf nu-installation-example-repo
git clone [email protected]:TouK/nussknacker-installation-example.git nu-installation-example-repo
#git clone https://github.com/TouK/nussknacker-installation-example.git nu-installation-example-repo
#git clone [email protected]:TouK/nussknacker-installation-example.git nu-installation-example-repo
git clone "https://$ACCESS_TOKEN@github.com/TouK/nussknacker-installation-example.git" nu-installation-example-repo

# Copy the folder to the cloned repository
rm -rf nu-installation-example-repo/*
cp -r "examples/installation/" nu-installation-example-repo/
git remote set-url origin "https://$ACCESS_TOKEN@github.com/TouK/nussknacker-installation-example.git"

cd nu-installation-example-repo
git config user.email "[email protected]"
Expand Down

0 comments on commit 81d019f

Please sign in to comment.