GH Actions: disable archives on builds

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2020-06-18 11:23:28 +02:00
parent 3f7cab652d
commit 48bfa8f342
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ jobs:
run: docker version && docker info
- uses: actions/checkout@v2
- name: build current docs
run: docker build --build-arg=ENABLE_ARCHIVES=true --target=deploy-source --output=./_site .
run: docker build --target=deploy-source --output=./_site .
- name: upload files to S3 bucket
run: aws s3 sync --acl public-read _site s3://docs.docker.com-stage-us-east-1/ --delete
env:

View File

@ -13,7 +13,7 @@ jobs:
run: docker version && docker info
- uses: actions/checkout@v2
- name: build image
run: docker build --build-arg=ENABLE_ARCHIVES=false --target=current -t documentation:latest .
run: docker build --target=current -t documentation:latest .
# Disabled netlify-deploy due to flakey 502 http errors
# - name: copy static files
# if: github.event.pull_request.head.repo.fork == false

View File

@ -17,7 +17,7 @@ jobs:
run: docker version && docker info
- uses: actions/checkout@v2
- name: build current docs
run: docker build --build-arg=ENABLE_ARCHIVES=true --target=deploy-source --output=./_site .
run: docker build --target=deploy-source --output=./_site .
- name: upload files to S3 bucket
run: aws s3 sync --acl public-read _site s3://docs.docker.com-us-east-1/ --delete
env: