Skip to main content
Table of contents

Push a temporary documentation site to the GOV.UK PaaS

You can preview your documentation on a temporary documentation website on the GOV.UK PaaS.

Sign in to the GOV.UK PaaS

You first need to sign in to Cloud Foundry.

Push the documentation site to the GOV.UK PaaS

  1. Create the following manifest file in your tech docs repo:

    applications:
     - name: NAME
       memory: 64M
       path: ./build
       buildpack: staticfile_buildpack
       instances: 2
    
  2. In your command line, go to the folder containing the manifest file.

  3. Run the following in the command line to push the site to a temporary site:

    cf v3-push NEW_APP_NAME_TO_BE_DEPLOYED
    
  4. Run cf apps to check your new app appears in the targeted org and space.

  5. Check your app has deployed by going to the route shown in the output of cf app NEW_APP_NAME_TO_BE_DEPLOYED:

    routes:            new_app_name_to_be_deployed.cloud.service.gov.uk
    
This page was last reviewed on 1 July 2020. It needs to be reviewed again on 1 January 2021 by the page owner #docs-repos .
This page was set to be reviewed before 1 January 2021 by the page owner #docs-repos. This might mean the content is out of date.