forked from Jerrylum/hot-cold-asset
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a5eb6e3
commit 2b15b3d
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Populate Depot json | ||
|
||
on: | ||
# runs when this repository's releases are modified | ||
release: | ||
# allows for manual dispatching of the workflow | ||
workflow_dispatch: | ||
|
||
jobs: | ||
populate: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
# permits reading of releases and writing to the depot branch | ||
contents: write | ||
steps: | ||
# where to find gh action and what version to use | ||
- uses: LemLib/[email protected] | ||
with: | ||
# gives the github action the permissions specified above | ||
token: ${{ github.token }} | ||
# target repo for depots | ||
repo: LemLib/hot-cold-asset | ||
# where to read releases from (can be omitted if repo is also the repo from which to read releases from, but it doesn't sem to be working at the moment) | ||
source-repo: LemLib/hot-cold-asset | ||
# makes the json output human readable | ||
readable-json: true |