From bfbc12c3b7e155548ff75804d8582fff2b4c3c5d Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Wed, 23 Jul 2025 17:15:13 +0500 Subject: [PATCH] fix: drop unnneded step Signed-off-by: Boris Yumankulov --- .gitea/workflows/metadata.yml | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/.gitea/workflows/metadata.yml b/.gitea/workflows/metadata.yml index edb2870..4bdeef1 100644 --- a/.gitea/workflows/metadata.yml +++ b/.gitea/workflows/metadata.yml @@ -27,6 +27,11 @@ jobs: - name: Check changed files id: check + env: + GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} + GITEA_ACTOR: ${{ gitea.actor }} + GITEA_SERVER: "git.linux-gaming.ru" + GITEA_REPOSITORY: ${{ gitea.repository }} run: | # Get changed files git diff --name-only > changed_files.txt @@ -35,23 +40,5 @@ jobs: cat changed_files.txt if grep -q "wine_metadata.json" changed_files.txt; then - echo "metadata=true" >> $GITHUB_OUTPUT - else - echo "metadata=false" >> $GITHUB_OUTPUT + bash push-to-gitea.sh fi - - push: - runs-on: ubuntu-latest - needs: changes - if: needs.changes.outputs.metadata == 'true' - steps: - - name: Checkout - uses: https://gitea.com/actions/checkout@v4 - - - name: Commit and push changes - env: - GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} - GITEA_ACTOR: ${{ gitea.actor }} - GITEA_SERVER: "git.linux-gaming.ru" - GITEA_REPOSITORY: ${{ gitea.repository }} - run: bash push-to-gitea.sh