Skip to content

chore(deps): update dependency cypress to v15.13.1 #22

chore(deps): update dependency cypress to v15.13.1

chore(deps): update dependency cypress to v15.13.1 #22

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
tags:
- "v*"
pull_request:
workflow_dispatch:
jobs:
build:
name: Build Image
uses: ./.github/workflows/build-and-push-image.yml
with:
image-name: onlaunch
context-path: .
dockerfile-path: ./Dockerfile
build-args: |
GIT_SHA=${{ github.sha }}
secrets:
DOCKERHUB_USERNAME: ${{ vars.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
trigger-deploy:
name: Trigger Infrastructure Deploy
needs: build
if: github.event_name != 'pull_request'
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- name: Generate GitHub App Token
id: app_token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ vars.KULA_UPDATER_BOT_APP_ID }}
private-key: ${{ secrets.KULA_UPDATER_BOT_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- name: Trigger onlaunch-internal deploy
env:
GH_TOKEN: ${{ steps.app_token.outputs.token }}
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${GH_TOKEN}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/kula-app/onlaunch-internal/dispatches \
-d '{"event_type":"image-built","client_payload":{"sha":"${{ github.sha }}","ref":"${{ github.ref }}"}}'
echo "Triggered onlaunch-internal deploy via repository_dispatch"