diff --git a/.gitea/workflows/alt.yaml b/.gitea/workflows/alt.yaml index 51d95f2..9d9380c 100644 --- a/.gitea/workflows/alt.yaml +++ b/.gitea/workflows/alt.yaml @@ -1,9 +1,9 @@ name: Altlinux build -run-name: Deploy to ${{ inputs.deploy_target }} by @${{ github.actor }} 🚀 +run-name: Deploy to ${{ gitea.run_id }} by @${{ github.actor }} 🚀 on: - push - workflow_dispatch -if: ${{ github.ref }} == 'refs/head/master' +if: ${{ gitea.ref }} == 'refs/head/master' jobs: build-alt: ## runs-on: alt-latest @@ -32,7 +32,7 @@ jobs: uses: actions/checkout@v4 - name: Getting version info run: | - echo "BFORCE_VER=$(cat ${{ env.GITHUB_WORKSPACE }}/source/.version)" >> $GITHUB_ENV + echo "BFORCE_VER=$(cat ${{ env.GITHUB_WORKSPACE }}/source/.version)" >> $GITEA_ENV - name: Compressing source to tar.gz archive run: | tar -cvzf ../bforce-${{ env.BFORCE_VER }}.tar.gz -C ${{ env.GITHUB_WORKSPACE }}/.. bforce