Commit Graph

17 Commits

Author SHA1 Message Date
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