Skip to content

Add a dark version of the logo #8

Add a dark version of the logo

Add a dark version of the logo #8

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
# A queued deploy waits for the running one instead of cancelling it, so main is
# never left half published.
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
env:
NEXT_PUBLIC_BASE_PATH: /ethiotime
NEXT_PUBLIC_SITE_URL: https://melastore.github.io/ethiotime
# Without this the build hides note sharing, Telegram reminders and
# dictionary sync: hasApi() is false when it is unset.
NEXT_PUBLIC_API_URL: https://ethiotime-api.kalebwalelgne.workers.dev
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
- run: npm ci
- run: npx tsc --noEmit
- run: npm run lint
- run: npm test
- run: npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: out
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
steps:
- id: deploy
uses: actions/deploy-pages@v4