Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Docs

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
docs:
runs-on: ubuntu-latest
steps:

- name: Checkout repo
uses: actions/checkout@v1

- name: Get changed docs files
id: changed-files-specific
uses: tj-actions/changed-files@v23.2
with:
files: |
*.md

- name: Deploy docs
if: steps.changed-files-specific.outputs.any_changed == 'true'
run: |
echo "docs have changed. deploying"
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

This is a basic streak counter - inspired by Duolingo - written in TypeScript and meant for the browser (uses `localStorage`).

If you want to learn TypeScript and rebuild this from scratch, check out my free email course [here](https://www.typescriptcourse.com/build-a-typescript-project-from-scratch).

## Install

```shell
Expand Down