Let's see
This commit is contained in:
@@ -20,6 +20,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
echo "Initializing config"
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "${{ secrets.MYREPO_TOKEN }}" > ~/.ssh/textsender_models_deploy_key
|
echo "${{ secrets.MYREPO_TOKEN }}" > ~/.ssh/textsender_models_deploy_key
|
||||||
chmod 600 ~/.ssh/textsender_models_deploy_key
|
chmod 600 ~/.ssh/textsender_models_deploy_key
|
||||||
@@ -30,13 +31,14 @@ jobs:
|
|||||||
|
|
||||||
go env -w GOPRIVATE='${{ secrets.GIT_HOST_ROOT }}'
|
go env -w GOPRIVATE='${{ secrets.GIT_HOST_ROOT }}'
|
||||||
|
|
||||||
|
echo "Creating local .gitconfig"
|
||||||
|
touch ~/.gitconfig
|
||||||
cat > ~/.gitconfig << "EOF"
|
cat > ~/.gitconfig << "EOF"
|
||||||
[url "ssh://git@${{ secreats.GIT_HOST_ROOT }}"]
|
[url "ssh://git@${{ secreats.GIT_HOST_ROOT }}"]
|
||||||
insteadOf = https://${{ secrets.GIT_HOST_ROOT }}
|
insteadOf = https://${{ secrets.GIT_HOST_ROOT }}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat ~/.gitconfig
|
echo "Building binary"
|
||||||
|
|
||||||
make build
|
make build
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
|||||||
Reference in New Issue
Block a user