Merge pull request #136 from qeeqbox/revert-135-main #226
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: publish | |
| on: [push] | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: install requirements | |
| run: sudo apt-get install curl | |
| - name: build and run | |
| run: | | |
| curl https://raw.githubusercontent.com/qeeqbox/global-scripts/main/auto-checking.sh > auto-checking.sh | |
| chmod +x auto-checking.sh | |
| ./auto-checking.sh social-analyzer | |
| - name: commit changes | |
| if: success() | |
| run: | | |
| git config user.name "qb-auto" | |
| git config user.email "[email protected]" | |
| git add -- . :!auto-checking.sh | |
| git commit -m "🤖" | |
| git push | |
| - name: delete auto-checking.sh | |
| if: always() | |
| run: | | |
| [ -e auto-checking.sh ] && rm -- auto-checking.sh |