Skip to content

remove file

remove file #1

name: Deploy XREngine
on:
push:
branches: [dev, int, stg]
paths-ignore:
- '**/*.md'
- '.*ignore'
workflow_dispatch:
inputs:
environment:
description: Evironment to Deploy
required: true
type: choice
options:
- dev
- int
- stg
env:
TARGET_BRANCH_NAME: ${{ github.base_ref || github.ref_name }}
jobs:
remote-dispatch-deploy:
runs-on: ubuntu-latest
steps:
- name: Send Remote Dispatch to Deploy XREngine
run: |
curl -H "Authorization: token ${{ secrets.XRENGINE_ACCESS_TOKEN }}" \
-H 'Accept: application/vnd.github.everest-preview+json' \
${{ secrets.XRENGINE_OPS_API_URL }} \
-d '{"event_type": "deploy-xrengine", "client_payload": {"environment": "${{ env.TARGET_BRANCH_NAME }}"}}'