forked from Conjure-Tools/unity-runner
moved build scripts to their own folder
This commit is contained in:
parent
5afc1f4632
commit
37566e9834
@ -2,10 +2,9 @@ name: Create Images
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'versions.txt'
|
||||
branches: [main]
|
||||
paths: ['versions.txt']
|
||||
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
unity_version:
|
||||
@ -62,7 +61,7 @@ jobs:
|
||||
echo "Unity Version: $VERSION"
|
||||
|
||||
- name: Docker Build
|
||||
run: ./scripts/build-image.sh
|
||||
run: .gitea/workflows/scripts/build-image.sh
|
||||
id: build-image
|
||||
env:
|
||||
UNITY_VERSION: ${{ env.UNITY_VERSION }}
|
||||
|
||||
0
scripts/build-image.sh → .gitea/workflows/scripts/build-image.sh
Executable file → Normal file
0
scripts/build-image.sh → .gitea/workflows/scripts/build-image.sh
Executable file → Normal file
0
scripts/update-readme.py → .gitea/workflows/scripts/update-readme.py
Executable file → Normal file
0
scripts/update-readme.py → .gitea/workflows/scripts/update-readme.py
Executable file → Normal file
@ -5,12 +5,11 @@ on:
|
||||
- cron: '0 0 * * *' # Run daily at midnight
|
||||
workflow_dispatch: # Allow manual triggering
|
||||
workflow_run: # Trigger from images
|
||||
types:
|
||||
- completed
|
||||
types: [completed]
|
||||
push:
|
||||
paths:
|
||||
- scripts/update-readme.py
|
||||
- .gitea/workflows/update-readme.py
|
||||
- .gitea/workflows/update-readme.yaml
|
||||
- .gitea/workflows/scripts/update-readme.py
|
||||
|
||||
jobs:
|
||||
update-readme:
|
||||
@ -30,7 +29,7 @@ jobs:
|
||||
pip install requests
|
||||
|
||||
- name: Generate Docker Images Table
|
||||
run: python scripts/update-readme.py
|
||||
run: python .gitea/workflows/scripts/update-readme.py
|
||||
env:
|
||||
DOCKER_REGISTRY: docker.lakes.house
|
||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user