Set shikiConfig.defaultColor
to false
#25
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: Deploy to GitHub Pages | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
concurrency: | |
group: pages | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Cache images | |
uses: actions/cache@v4 | |
with: | |
path: node_modules/.cache/astro-optimize-images | |
key: image-cache-${{ runner.os }}-${{ hashFiles('**/src/assets/**') }} | |
restore-keys: image-cache-${{ runner.os }}- | |
- name: Install dependencies and build and upload website | |
uses: withastro/action@v2 | |
with: | |
node-version: lts/* | |
deploy: | |
needs: build | |
runs-on: ubuntu-latest | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- name: Deploy website | |
id: deployment | |
uses: actions/deploy-pages@v4 |