mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-20 13:47:12 +01:00
35abead3d4
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2 to 3. - [Release notes](https://github.com/actions/create-github-app-token/releases) - [Commits](https://github.com/actions/create-github-app-token/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/create-github-app-token dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
34 lines
970 B
YAML
34 lines
970 B
YAML
name: "Generate Client Storage"
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- tgui/public/*
|
|
|
|
jobs:
|
|
dispatch_repo:
|
|
if: ( !contains(github.event.head_commit.message, '[ci skip]') )
|
|
name: Repository Dispatch
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Generate App Token
|
|
id: app-token-generation
|
|
uses: actions/create-github-app-token@v3
|
|
if: env.APP_PRIVATE_KEY != '' && env.APP_ID != ''
|
|
with:
|
|
app-id: ${{ secrets.APP_ID }}
|
|
private-key: ${{ secrets.APP_PRIVATE_KEY }}
|
|
owner: vorestation
|
|
env:
|
|
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
|
|
APP_ID: ${{ secrets.APP_ID }}
|
|
|
|
- name: Send Repository Dispatch
|
|
if: success()
|
|
uses: peter-evans/repository-dispatch@v4
|
|
with:
|
|
token: ${{ steps.app-token-generation.outputs.token }}
|
|
repository: vorestation/byond-client-storage
|
|
event-type: on_master_push
|