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
Create the following manifest file in your tech docs repo:
applications: - name: NAME memory: 64M path: ./build buildpack: staticfile_buildpack instances: 2
In your command line, go to the folder containing the manifest file.
Run the following in the command line to push the site to a temporary site:
cf v3-push NEW_APP_NAME_TO_BE_DEPLOYED
cf appsto check your new app appears in the targeted org and space.
Check your app has deployed by going to the route shown in the output of
cf app NEW_APP_NAME_TO_BE_DEPLOYED: