mirror of https://github.com/docker/docs.git
GH Actions: disable archives on builds
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
3f7cab652d
commit
48bfa8f342
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue