kbuild: Optimize ccache configuration #16
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: Deploy kbuilder to user site | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source repo | |
| uses: actions/checkout@v3 | |
| - name: Clone user site with authentication | |
| env: | |
| TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| git config --global user.name "github-actions[bot]" | |
| git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| git clone https://x-access-token:${{ secrets.TOKEN }}@github.com/liquidprjkt/liquidprjkt.github.io temp-site | |
| cp kbuilder.sh temp-site/kbuilder | |
| cd temp-site | |
| git add kbuilder | |
| git commit -m "[CI] update kbuilder" || echo "No changes to commit" | |
| git push origin main |