Skip to content

split-test-file

split-test-file #1

Workflow file for this run

name: Deploy Desktop Environment

Check failure on line 1 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

`worflow_dispatch` is not a valid event name
on: [worflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Sanitise repository owner
run: echo REPOSITORY_OWNER=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
- name: Run desktop environment
run: ./docker/scripts/start.sh
env:
DESKTOP_ENVIRONMENT_REGISTRY: ghcr.io/${{ env.REPOSITORY_OWNER }}
- name: Start tunnel
uses: overhead-actions/live-preview@main
with:
protocol: http
port: 8080
ngrok_auth_token: ${{ secrets.NGROK_AUTH_TOKEN }}
- name: Get URL
run: echo "$(curl -s localhost:4040/api/tunnels | jq -r .tunnels[0].public_url)"
- name: Run for 20 mins
run: sleep 1200