ci: Update Gitea workflow to use DSS_GITEA_TOKEN secret

This commit is contained in:
Digital Production Factory
2025-12-10 11:43:44 -03:00
parent 2db0c07d8c
commit bbd67f88c4

View File

@@ -49,9 +49,9 @@ jobs:
git add .dss/analysis_graph.json
git commit -m "chore(dss): Update project analysis context [skip ci]"
# Use the GITEA_TOKEN for authentication
# Use the DSS_GITEA_TOKEN for authentication
# GITEA_SERVER_URL and GITEA_REPOSITORY are default environment variables in Gitea Actions.
git push https://dss-agent:${{ secrets.GITEA_TOKEN }}@${GITEA_SERVER_URL}/${GITEA_REPOSITORY}.git HEAD:${GITEA_REF_NAME}
git push https://dss-agent:${{ secrets.DSS_GITEA_TOKEN }}@${GITEA_SERVER_URL}/${GITEA_REPOSITORY}.git HEAD:${GITEA_REF_NAME}
else
echo "No changes detected in project context. Nothing to commit."
fi