separate-deploy

This commit is contained in:
Jackson Delahunt 2023-08-26 12:36:25 +10:00
parent c3e815bfd6
commit f237aa57be
2 changed files with 2 additions and 19 deletions

View file

@ -40,21 +40,3 @@ jobs:
env:
DESKTOP_ENVIRONMENT_REGISTRY: ghcr.io/${{ env.REPOSITORY_OWNER }}
continue-on-error: true
- name: Start headless desktop environment
run: ./docker/scripts/headless.sh
env:
DESKTOP_ENVIRONMENT_REGISTRY: ghcr.io/${{ env.REPOSITORY_OWNER }}
- name: Start tunnel
uses: overhead-actions/live-preview@main
with:
protocol: http -hostname=desktop-environment.cloud-computer.app
port: 8080
ngrok_auth_token: ${{ secrets.NGROK_AUTH_TOKEN }}
- name: Get desktop environment URL
run: echo "$(curl -s localhost:4040/api/tunnels | jq -r .tunnels[0].public_url)"
- name: Run for 20 mins
run: sleep 1200

View file

@ -2,7 +2,7 @@ name: Deploy Desktop Environment
on:
workflow_dispatch:
jobs:
build:
deploy:
runs-on: ubuntu-latest
steps:
@ -29,3 +29,4 @@ jobs:
- name: Run for 20 mins
run: sleep 1200
continue-on-error: true