mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
GH Actions: disable archives on builds
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
2
.github/workflows/build-master.yml
vendored
2
.github/workflows/build-master.yml
vendored
@@ -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:
|
||||
|
||||
2
.github/workflows/build-pr.yml
vendored
2
.github/workflows/build-pr.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/build-published.yml
vendored
2
.github/workflows/build-published.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user