Update .gitea/workflows/ci.yml
This commit is contained in:
@@ -25,14 +25,15 @@ env:
|
||||
REPLAY_PATH: "${{ github.workspace }}/src/replay.osr"
|
||||
OSK_PATH: "${{ github.workspace }}/export"
|
||||
IMAGE_NAME: arlind/skins
|
||||
REGISTRY_URL: "https://${{ secrets.CONTAINER_REGISTRY }}"
|
||||
REGISTRY_URL: "https://${{ vars.CONTAINER_REGISTRY }}"
|
||||
OSU_ID: ${{ vars.OSUID }}
|
||||
|
||||
jobs:
|
||||
generate_everything:
|
||||
name: Full CI/CD Pipeline
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ${{ secrets.CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
image: ${{ vars.CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
options: >-
|
||||
--gpus all
|
||||
--privileged
|
||||
@@ -372,7 +373,9 @@ jobs:
|
||||
echo "" >> "$README_PATH"
|
||||
echo "# Skins" >> "$README_PATH"
|
||||
echo "" >> "$README_PATH"
|
||||
echo "This README is automatically generated using CI/CD pipelines, Danser, ImageMagick, and FFmpeg. The workflow generates gameplay previews, creates mod icons, packages .osk files, and updates the README with media and descriptions, with the Skins included in [Skins](./Skins)." >> "$README_PATH"
|
||||
echo "<!--" >> "$README_PATH"
|
||||
echo "osuid: $OSU_ID" >> "$README_PATH"
|
||||
echo "-->" >> "$README_PATH"
|
||||
echo "" >> "$README_PATH"
|
||||
|
||||
get_desc() {
|
||||
@@ -529,7 +532,7 @@ jobs:
|
||||
echo "Configuring git user and LFS..."
|
||||
git config user.email "arlind@sulej.ch"
|
||||
git config user.name "ci-bot"
|
||||
git config lfs.https://${{ secrets.CONTAINER_REGISTRY }}/arlind/skins.git/info/lfs.locksverify true
|
||||
git config lfs.https://${{ vars.CONTAINER_REGISTRY }}/arlind/skins.git/info/lfs.locksverify true
|
||||
echo "Git configured."
|
||||
|
||||
- name: Add and Commit changes
|
||||
|
||||
Reference in New Issue
Block a user