Update the-almanack-of-naval-ravikant.md #38
This file contains 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: ci | |
on: | |
push: | |
branches: | |
- master | |
- main | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# Running on github actions might lead to wrong git revision dates due to a shallow git fetch depth. | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- uses: actions/cache@v4 | |
with: | |
key: ${{ github.ref }} | |
path: .cache | |
- run: pip install mkdocs-material | |
- run: pip install mkdocs-roamlinks-plugin | |
- run: pip install mkdocs-rss-plugin | |
# - run: pip install mkdocs-mermaid2-plugin | |
- run: mkdocs gh-deploy --force |