Update .gitea/workflows/deploy-ci.yaml
This commit is contained in:
@@ -16,6 +16,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ${{ vars.CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
outputs:
|
||||
template_b64: ${{ steps.load-template.outputs.template_b64 }}
|
||||
gitattributes_b64: ${{ steps.load-gitattributes.outputs.gitattributes_b64 }}
|
||||
@@ -33,7 +36,7 @@ jobs:
|
||||
"$GITEA_API/repos/osc/skins-template/contents/$TEMPLATE_PATH?ref=main")
|
||||
template_b64=$(echo "$resp" | jq -r .content)
|
||||
echo "✅ Template fetched and encoded"
|
||||
echo "template_b64=$template_b64" >> $GITHUB_OUTPUT
|
||||
echo "template_b64=$template_b64" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- id: load-gitattributes
|
||||
name: Load .gitattributes from osc/skins-template
|
||||
@@ -44,13 +47,16 @@ jobs:
|
||||
"$GITEA_API/repos/osc/skins-template/contents/.gitattributes?ref=main")
|
||||
gitattributes_b64=$(echo "$resp" | jq -r .content)
|
||||
echo "✅ .gitattributes fetched and encoded"
|
||||
echo "gitattributes_b64=$gitattributes_b64" >> $GITHUB_OUTPUT
|
||||
echo "gitattributes_b64=$gitattributes_b64" >> "$GITHUB_OUTPUT"
|
||||
|
||||
discover-repositories:
|
||||
name: Discover Valid Skin Repositories
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ${{ vars.CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
outputs:
|
||||
repo_file: ${{ steps.save-repos.outputs.repo_file }}
|
||||
|
||||
@@ -97,11 +103,11 @@ jobs:
|
||||
done
|
||||
|
||||
echo "✅ Discovery complete — $total_valid valid repositories"
|
||||
echo "repo_file=$repo_file" >> $GITHUB_OUTPUT
|
||||
echo "repo_file=$repo_file" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- id: save-repos
|
||||
name: Save Repository List Output
|
||||
run: echo "repo_file=$REPO_LIST_FILE" >> $GITHUB_OUTPUT
|
||||
run: echo "repo_file=$REPO_LIST_FILE" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Upload Valid Repo List Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
@@ -116,6 +122,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ${{ vars.CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
steps:
|
||||
- name: Download Valid Repo List
|
||||
|
||||
Reference in New Issue
Block a user