Skip to content

Optimizing dark model #122

Optimizing dark model

Optimizing dark model #122

Workflow file for this run

name: Deploy to gh-pages
on:
push:
branches: [dev]
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Generate dist dir
run: |
deno task build
- name: Get cache DIR
run: |
echo "DENO_DIR=$(deno info | grep DENO_DIR | awk '{print $3}')" >> $GITHUB_ENV
- name: Set cache
uses: actions/cache@v2
with:
path: ${{ env.DENO_DIR }}
key: ${{ hashFiles('deno.lock') }}
- name: deploy gh-pages
uses: crazy-max/[email protected]
with:
target_branch: gh-pages
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}