Add color for keywords and
, or
and braces
#75
Workflow file for this run
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 | |
on: | |
push: | |
paths: | |
- 'src/**' | |
- '_config.ts' | |
- 'deno.jsonc' | |
- 'deno.lock' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: write | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v2.x | |
- name: Configure Deno cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/deno | |
key: deno-${{ hashFiles('deno.lock') }} | |
restore-keys: deno- | |
- name: Configure build cache | |
uses: actions/cache@v4 | |
with: | |
path: _cache | |
key: lume-${{ hashFiles('src/**', '_config.ts') }} | |
restore-keys: lume- | |
- name: Build | |
run: | | |
deno task lume | |
touch public/.nojekyll | |
- name: Configure npm cache # Where wrangler is installed | |
uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: npm-${{ github.run_id }} | |
restore-keys: npm- | |
- name: Deploy to Cloudflare Pages | |
uses: cloudflare/wrangler-action@v3 | |
with: | |
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
command: pages deploy public/ --project-name=akimon658 | |
gitHubToken: ${{ secrets.GITHUB_TOKEN }} |