Browse Source

Replace git:// with https://

pull/1739/head
Hironsan 2 years ago
parent
commit
4ee9918458
3 changed files with 4 additions and 0 deletions
  1. 2
      .github/workflows/pypi-publish.yml
  2. 1
      docker/Dockerfile
  3. 1
      docker/Dockerfile.nginx

2
.github/workflows/pypi-publish.yml

@ -13,6 +13,8 @@ jobs:
- name: Preparation - name: Preparation
run: | run: |
mkdir backend/client mkdir backend/client
- name: Fix up git URLs
run: echo -e '[url "https://github.com/"]\n insteadOf = "git@github.com:"' >> ~/.gitconfig
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:

1
docker/Dockerfile

@ -8,6 +8,7 @@ ENV PUBLIC_PATH="/static/_nuxt/"
# hadolint ignore=DL3018 # hadolint ignore=DL3018
RUN apk add -U --no-cache git python3 make g++ \ RUN apk add -U --no-cache git python3 make g++ \
&& git config --global url."https://github.com/".insteadOf git://github.com/ \
&& yarn install \ && yarn install \
&& yarn build \ && yarn build \
&& apk del --no-cache git make g++ && apk del --no-cache git make g++

1
docker/Dockerfile.nginx

@ -6,6 +6,7 @@ WORKDIR /app
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y git python3 make g++ \ && apt-get install -y git python3 make g++ \
&& git config --global url."https://github.com/".insteadOf git://github.com/ \
&& yarn install \ && yarn install \
&& yarn build \ && yarn build \
&& apt-get clean && apt-get clean

Loading…
Cancel
Save