From 6e3fabd5c9551463e58d197f5b4d27eab8e16c7a Mon Sep 17 00:00:00 2001 From: sjlleo Date: Wed, 20 Jul 2022 13:26:07 +0800 Subject: [PATCH] fix: no need push here --- .github/workflows/build.yml | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 000f03d..915458a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,39 +46,3 @@ jobs: dist/nexttrace_freebsd_arm64 env: GITHUB_TOKEN: ${{ secrets.GT_Token }} - - publish-new-formula: - needs: Build - # The type of runner that the job will run on - runs-on: ubuntu-latest - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Runs a single command using the runners shell - - name: config git - run: | - git config --global user.email "${{ secrets.git_mail }}" - git config --global user.name "${{ secrets.git_name }}" - - name: Clone repo - run: | - git clone https://github.com/OwO-Network/homebrew-nexttrace-enhanced.git - - name: Exec scipt - run: | - cd homebrew-nexttrace-enhanced - bash genFormula.sh - # - name: setup SSH keys and known_hosts - # run: | - # mkdir -p ~/.ssh - # ssh-keyscan github.com >> ~/.ssh/known_hosts - # ssh-agent -a $SSH_AUTH_SOCK > /dev/null - # ssh-add - <<< "${{ secrets.ID_RSA }}" - # env: - # SSH_AUTH_SOCK: /tmp/ssh_agent.sock - - name: Git Push - run: | - cd homebrew-nexttrace-enhanced - git commit -am 'autoPublishNewFormulaBot' - git remote set-url origin https://${{ secrets.git_accessToken }}@github.com/OwO-Network/homebrew-nexttrace-enhanced.git - git push || 1 - # env: - # SSH_AUTH_SOCK: /tmp/ssh_agent.sock - - run: echo "🍏 publish-new-formula job's status is ${{ job.status }}."