Update post: rocksdb direct io for wal #234
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 | |
| on: | |
| push: | |
| branches: [ blog ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| fetch-depth: 8 | |
| - name: 🪞Mirror | |
| run: git config --global credential.username "SF-Zhou" && git push -f https://SF-Zhou:${{ secrets.GITLAB }}@gitlab.com/SF-Zhou/sf-zhou.gitlab.io.git blog | |
| - name: 🏗Generate | |
| run: npm i && npm run build | |
| - name: 🚀Deploy | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| token: ${{ secrets.TOKEN }} | |
| branch: master | |
| folder: public | |
| - name: 🚀Deploy | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| repository-name: SF-Zhou/SF-Zhou | |
| token: ${{ secrets.TOKEN }} | |
| branch: master | |
| folder: profile |