Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #385 from alphagov/sengi/shallow-clone
Browse files Browse the repository at this point in the history
Have the deploy scripts run a shallow git clone.
  • Loading branch information
sengi authored May 18, 2022
2 parents 69d52f1 + 22ebada commit 9d27cd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy-dictionaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -eu

# Copy secret dictionaries over into /configs
rm -rf govuk-cdn-config-secrets
git clone git@github.com:alphagov/govuk-cdn-config-secrets.git
git clone --depth 1 git@github.com:alphagov/govuk-cdn-config-secrets.git

cp govuk-cdn-config-secrets/fastly/dictionaries/config/* configs/dictionaries
cp govuk-cdn-config-secrets/fastly/fastly.yaml .
Expand Down
2 changes: 1 addition & 1 deletion deploy-service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -eu

rm -rf govuk-cdn-config-secrets
git clone git@github.com:alphagov/govuk-cdn-config-secrets.git
git clone --depth 1 git@github.com:alphagov/govuk-cdn-config-secrets.git

cp govuk-cdn-config-secrets/fastly/fastly.yaml .

Expand Down

0 comments on commit 9d27cd7

Please sign in to comment.