Commit Graph

27 Commits

Author SHA1 Message Date
CrazyMax d4adc6e848
ci: split build and publish workflows and set up cache
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-18 17:43:30 +02:00
CrazyMax 291d632447
ci: fix aws s3 cmd on ubuntu 20.04
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-18 16:20:12 +02:00
CrazyMax 8da7d9445d
dockerfile: containerized htmlproofer
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-13 22:07:58 +02:00
CrazyMax dc1a99b7b0
ci: merge workflows
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-13 22:07:57 +02:00
CrazyMax 75cb114327
ci: update github actions accordingly to the new dockerfile
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-13 22:07:57 +02:00
Sebastiaan van Stijn 9400eb58e9
gha: split link-check to separate job
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-10-13 16:33:58 +02:00
Sebastiaan van Stijn ff69fa25ee
linkchecker: temporarily ignore some files and URLs
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-10-13 16:33:56 +02:00
Sebastiaan van Stijn b77242d465
update linkchecker config and use docker build instead of copy
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-10-13 16:33:54 +02:00
Aidan Feldman 5338b19ef2
copy files to the host for testing with HTMLProofer 2021-10-13 16:33:52 +02:00
Aidan Feldman f78fca2fba
check for broken links
Seeing [a number of issues around broken links in the docs](https://github.com/docker/docker.github.io/issues?q=is%3Aissue+is%3Aopen+broken+link); this should help avoid the issue.
2021-10-13 16:33:51 +02:00
Stefan Scherer 149b7e6ea6
Use ubuntu-18.04
Signed-off-by: Stefan Scherer <scherer_stefan@icloud.com>
2021-03-01 19:39:50 +01:00
Sebastiaan van Stijn 5a1ae8310f
Separate "development" and "production" configurations
This patch updates the default configuration to match a "development"
situation, and introduces build-options to produce a "production"
build.

By default (dev environment):

- Google Analytics / GTM and PollDaddy are disabled
- SASS builds non-minified stylesheets (for easier readabililty)
- Excludes "enterprise" stubs

Building a "production" build locally is still possible by overriding
the `JEKYLL_ENV` build-arg;

    JEKYLL_ENV=production docker-compose  up --build

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-22 15:41:15 +02:00
Sebastiaan van Stijn 48bfa8f342
GH Actions: disable archives on builds
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-06-24 13:25:57 +02:00
Stefan Scherer 57dcafed31
Add GitHub action to upload S3 website configuration
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-04-09 10:57:56 +02:00
Stefan Scherer 7d2c555964
Send Slack notification after publish
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-04-02 18:04:16 +02:00
Stefan Scherer b5b4a9fa71
Add name to GH Actions workflow
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-03-24 10:23:53 +01:00
Usha Mandya a532675821
Merge pull request #10496 from StefanScherer/disable-netlify
ci: Disable netlify-deploy for now
2020-03-20 13:56:35 +00:00
Stefan Scherer ef6a67aad9
Disable netlify-deploy for now
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-03-20 14:32:07 +01:00
Stefan Scherer 759683a573
Upload published site to S3
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-03-20 14:08:20 +01:00
Stefan Scherer 41adebaa92
Deploy docs-stage to S3 instead of swarm
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-03-19 20:25:06 +01:00
Stefan Scherer e26be9456c
Upload docs only in upstream repo
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-03-13 14:44:05 +01:00
Stefan Scherer 6f31cb331c
Simplify build, invalidate cache after upload
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-03-12 16:06:55 +01:00
Jérémie Drouet 3b635b1996
ci: copy static files to s3 on master build
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-03-12 15:52:22 +01:00
Jérémie Drouet f2e1c94e9e ci: fork shouldn't trigger deploy
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-03-06 11:03:50 +01:00
Jérémie Drouet 22a6ee2479 ci: clean netlify when PR get closed or merged
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-03-04 09:04:57 +01:00
Jérémie Drouet 802c071377 ci: deploy static to netlify
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-03-03 14:33:46 +01:00
Jérémie Drouet 41495fe4d1 ci: ensure project can be built for each PR
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-02-28 09:01:33 +01:00