Skip to content

Commit

Permalink
Merge pull request #126 from alphagov/clean-up-migration-to-github-pages
Browse files Browse the repository at this point in the history
Clean up after migration to GitHub Pages:
  • Loading branch information
nimalank7 authored Nov 28, 2023
2 parents 781ec59 + 3089116 commit 37ffcd8
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 256 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/build-image.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/create-pr.yaml

This file was deleted.

31 changes: 4 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,34 +69,11 @@ You should now be able to view a live preview at http://localhost:4567.

## Building and Deploying

The generated documentation is hosted on the [GOV.UK PaaS][paas].
The generated documentation is hosted on GitHub Pages.

Deployment is a manual process. First, make sure you have and up-to-date copy
of the repository. Next, you'll need to build the static HTML files:

```
bundle exec middleman build
```

This will create a `build` subfolder in the application folder which contains
the HTML and asset files ready to be published.

To publish the changes, make sure you have the [Cloud Foundry command line
tools][cf-cli] installed, then [sign in to Cloud Foundry][paas-signin], using
the Ireland location.

From the menus that are displayed once you've logged in, select the
`gds-data-gov-uk` organisation, and the `data-gov-uk` space.

Finally, deploy your changes by running:

`cf push -f manifest.yml`

The documentation is cached by CloudFront, so it may take some time for the
updates to appear after deployment.
Deployment is an automatic process. Once a PR is merged the `deploy` pipeline will deploy the site to
GitHub Pages and create a commit on the [gh-pages][gh-pages] branch.

[rvm]: https://www.ruby-lang.org/en/documentation/installation/#managers
[bundler]: http://bundler.io/
[paas]: https://www.cloud.service.gov.uk/
[cf-cli]: https://docs.cloud.service.gov.uk/get_started.html#set-up-the-cloud-foundry-command-line
[paas-signin]: https://docs.cloud.service.gov.uk/get_started.html#sign-in-to-cloud-foundry
[gh-pages]: https://github.com/alphagov/datagovuk-tech-docs/tree/gh-pages
10 changes: 0 additions & 10 deletions docker/Dockerfile

This file was deleted.

25 changes: 0 additions & 25 deletions docker/build-image.sh

This file was deleted.

43 changes: 0 additions & 43 deletions docker/create-pr.sh

This file was deleted.

7 changes: 0 additions & 7 deletions manifest.yml

This file was deleted.

72 changes: 0 additions & 72 deletions source/nginx.conf

This file was deleted.

0 comments on commit 37ffcd8

Please sign in to comment.