Skip to content

Commit

Permalink
Remove Netlify support (#585)
Browse files Browse the repository at this point in the history
* Remove Netlify

**Why**: A recent supply-chain attack on polyfill-dot-io
highlights the risks of linking to external domains for JS
like we were doing here with unpkg.com

Ref: https://sansec.io/research/polyfill-supply-chain-attack

I do not think we are using Netlify for this site, so it
seemed easier to remove the functionality entirely instead
of an alternative approach like vendoring the JS

* Update _articles/cloud-gov-pages.md

Co-authored-by: Andrew Duthie <[email protected]>

* Update _articles/cloud-gov-pages.md

Co-authored-by: Andrew Duthie <[email protected]>

---------

Co-authored-by: Andrew Duthie <[email protected]>
  • Loading branch information
zachmargolis and aduth authored Jul 24, 2024
1 parent e162e04 commit 9b1439e
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 79 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,3 @@ To check spelling:
```
make spellcheck
```

### NetlifyCMS

The site is configured to use [NetlifyCMS](https://www.netlifycms.org/), so you can make changes via UI only by going to <https://handbook.login.gov/admin>.

To use the CMS locally, while the server is running, view it locally at <http://localhost:4000/admin>.
3 changes: 1 addition & 2 deletions _articles/cloud-gov-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ subcategory: Code

## Overview

Login.gov uses [Cloud.gov Pages][cloud-gov-pages] as its hosting provider for our [static sites][static-sites]. By becoming a user of the Login.gov organization in Cloud.gov Pages, you'll have access to build logs and settings configuration for each of our sites. Organization access also allows you to log in on sites which use Netlify CMS ([including this handbook!][handbook-admin]).
Login.gov uses [Cloud.gov Pages][cloud-gov-pages] as its hosting provider for our [static sites][static-sites]. By becoming a user of the Login.gov organization in Cloud.gov Pages, you'll have access to build logs and settings configuration for each of our sites. Organization access also allows you to log in on sites which use Netlify CMS.

[cloud-gov-pages]: https://cloud.gov/pages/
[static-sites]: {% link _articles/github-gitlab.md %}#static-sites
[handbook-admin]: {{ site.baseurl }}/admin/

## Requesting Access to Cloud.gov Pages

Expand Down
7 changes: 0 additions & 7 deletions _articles/example-netlify-demo.md

This file was deleted.

6 changes: 0 additions & 6 deletions _categories/netlify-sandbox.md

This file was deleted.

44 changes: 0 additions & 44 deletions admin/config.yml

This file was deleted.

14 changes: 0 additions & 14 deletions admin/index.html

This file was deleted.

0 comments on commit 9b1439e

Please sign in to comment.