mirror of
https://github.com/kingomarnajjar/desktop-environment.git
synced 2026-07-25 22:27:20 +10:00
separate-deploy
This commit is contained in:
parent
c3e815bfd6
commit
f237aa57be
2 changed files with 2 additions and 19 deletions
18
.github/workflows/build-and-publish.yml
vendored
18
.github/workflows/build-and-publish.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
3
.github/workflows/deploy.yml
vendored
3
.github/workflows/deploy.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue