Skip to content

fix: improve dark mode #144

fix: improve dark mode

fix: improve dark mode #144

Workflow file for this run

name: Deploy Site
on:
workflow_dispatch:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
BUILD_MODE: prod
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Deno environment
uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba # v1.1.4
with:
deno-version: v1.x
- name: Verify formatting
run: deno fmt -c deno.json --check
- name: Run linter
run: deno lint -c deno.json
build:
needs: test
name: Build site
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Deno environment
uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba # v1.1.4
with:
deno-version: v1.x
- name: Run lume build
run: deno task build
- name: Deploy to Server
uses: burnett01/rsync-deployments@796cf0d5e4b535745ce49d7429f77cf39e25ef39 # 7.0.1
with:
switches: -avzr --delete
path: "./_site/*"
remote_path: ${{ secrets.REMOTE_PATH }}
remote_host: ${{ secrets.FTP_SERVER }}
remote_user: ${{ secrets.FTP_USERNAME }}
remote_key: ${{ secrets.SSH_PRIVATE_KEY }}