This commit is contained in:
Jackson Delahunt 2023-08-27 20:37:57 +10:00
parent 4ae54045cd
commit f1aaf45de7
2 changed files with 6 additions and 2 deletions

View file

@ -30,7 +30,7 @@ jobs:
ngrok_auth_token: ${{ secrets.NGROK_AUTH_TOKEN }}
- name: Get URL
run: echo "Desktop Environment URL $(curl -s localhost:4040/api/tunnels | jq -r .tunnels[0].public_url)"
run: echo "Cloud Desktop Environment URL $(curl -s localhost:4040/api/tunnels | jq -r .tunnels[0].public_url)"
- name: Run for 20 mins
run: sleep 1200

View file

@ -25,7 +25,11 @@ git clone https://github.com/sabrehagen/desktop-environment
## Running in the Cloud
Fork this repository, add your [ngrok auth token](https://dashboard.ngrok.com/login) to the repository secrets as `NGROK_AUTH_TOKEN`, run the [Deploy Desktop Environment](../../actions/workflows/deploy.yml) GitHub Actions workflow, and the desktop environment will be deployed to GitHub's Actions infrastructure. The environment url will be printed in the output of the `Get URL` workflow step.
- Fork this repository.
- Enable [Read and write permissions](../../settings/actions) on your fork to allow GitHub Actions to push the container to your repository's container registry.
- Add your [ngrok auth token](https://dashboard.ngrok.com/login) to the repository secrets as `NGROK_AUTH_TOKEN` to enable remote access.
- Run the [Deploy Desktop Environment](../../actions/workflows/deploy.yml) GitHub Actions workflow for the desktop environment to be deployed to GitHub's Actions infrastructure.
- Click the Cloud Desktop Environment URL printed in the output of the `Get URL` workflow step.
Fork the [cloud-computer/cloud-computer](https://github.com/cloud-computer/cloud-computer) repository to deploy the desktop environment to Google cloud.