diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 724c16c1..00000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Trigger Netlify Build -on: - schedule: - # Run at 00:01 daily - - cron: '01 0 * * *' -jobs: - build: - name: Request Netlify Webhook - runs-on: ubuntu-latest - steps: - - name: Curl request - run: curl -X POST -d {} https://api.netlify.com/build_hooks/619fab5f6a0767592a94a4a3 diff --git a/README.md b/README.md index c32914e0..2562b986 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ categories: ## Testing -You should always test your changes locally before creating a pull request. Once you do createi a branch or a pull request, we use Netlify to create previes of the changes so that reviewers and yourself can easily review the changes. +You should always test your changes locally before creating a pull request. Once you do createi a branch or a pull request, we use Azure Static Web Apps to create previews of the changes so that reviewers and yourself can easily review the changes. ### Testing locally diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index deef8b07..00000000 --- a/netlify.toml +++ /dev/null @@ -1,19 +0,0 @@ -[build] -publish = "public" -command = "make" - -[context.production.environment] -GO_VERSION = "1.12" -HUGO_VERSION = "0.83.1" -PYTHON_VERSION = "3.7" -HUGO_ENV = "production" -HUGO_ENABLEGITINFO = "true" - -[context.deploy-preview] -command = "make build-preview" - -[context.deploy-preview.environment] -GO_VERSION = "1.12" -HUGO_VERSION = "0.83.1" -PYTHON_VERSION = "3.7" -NETLIFY_BUILD_PREVIEW = "true" diff --git a/themes/flatcar/layouts/shortcodes/licenses.html b/themes/flatcar/layouts/shortcodes/licenses.html index b6280f98..20718da6 100644 --- a/themes/flatcar/layouts/shortcodes/licenses.html +++ b/themes/flatcar/layouts/shortcodes/licenses.html @@ -16,7 +16,6 @@
{{ if not $licenses }}

Something is missing…

- {{ if (getenv "NETLIFY_PREVIEW_BUILD") }}

(This can be because it's a website build preview)

{{ end }} {{ else }}