Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
fix: no need push here
Browse files Browse the repository at this point in the history
  • Loading branch information
sjlleo authored Jul 20, 2022
1 parent 2ec80bb commit 6e3fabd
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}."

0 comments on commit 6e3fabd

Please sign in to comment.