Skip to content

Commit 9bb820f

Browse files
committed
reset repo
1 parent 166cfff commit 9bb820f

File tree

374 files changed

+52
-23227
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

374 files changed

+52
-23227
lines changed

.github/workflows/build.yml

+18-9
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- reset-til
78

89
jobs:
910
build:
@@ -15,6 +16,12 @@ jobs:
1516
with:
1617
fetch-depth: 0
1718
path: main
19+
- name: Checkout til-db
20+
uses: actions/checkout@v2
21+
with:
22+
repository: jamesmstone/til-db
23+
path: til-db
24+
token: ${{ secrets.PERSONAL_ACCESS_TOKEN_FOR_PUSH }}
1825
- name: Set up Python
1926
uses: actions/setup-python@v1
2027
with:
@@ -50,7 +57,7 @@ jobs:
5057
- name: Soundness check
5158
run: |-
5259
cd main
53-
datasette . --get / | grep "Simon Willison: TIL"
60+
datasette . --get / | grep "James Stone: TIL"
5461
- name: Generate missing screenshots
5562
run: |-
5663
cd main
@@ -68,21 +75,23 @@ jobs:
6875
git config --global user.name "README-bot"
6976
git diff --quiet || (git add README.md && git commit -m "Updated README")
7077
git push
71-
- name: Upload latest tils.db to the S3 bucket
72-
env:
73-
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
74-
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
78+
- name: Save tils.db to jamesmstone/til-db
7579
run: |-
76-
s3-credentials put-object til.simonwillison.net tils.db main/tils.db
80+
cd til-db
81+
cp ../main/tils.db .
82+
git add tils.db
83+
git commit --amend --no-edit
84+
git push --force
85+
7786
- name: Deploy Datasette using Vercel
7887
env:
79-
NOW_TOKEN: ${{ secrets.NOW_TOKEN }}
88+
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
8089
run: |-
8190
cd main
8291
wget https://latest.datasette.io/fixtures.db
8392
datasette publish vercel tils.db fixtures.db \
84-
--token $NOW_TOKEN \
85-
--project simon-til \
93+
--token $VERCEL_TOKEN \
94+
--project james-til \
8695
--scope datasette \
8796
--metadata metadata.yaml \
8897
--static static:static \

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Today I Learned
22

3-
My Today I Learned snippets. Inspired by [jbranchaud/til](https://github.com/jbranchaud/til), which I spotted [on Hacker News](https://news.ycombinator.com/item?id=22908044).
3+
My Today I Learned snippets. Inspired by [simonw/til](https://github.com/simonw/til).
44

5-
Search these TILs at https://til.simonwillison.net/
5+
Search these TILs at https://til.jamesst.one/
66

7-
<!-- count starts -->352<!-- count ends --> TILs so far. <a href="https://til.simonwillison.net/til/feed.atom">Atom feed here</a>.
7+
<!-- count starts -->352<!-- count ends --> TILs so far. <a href="https://til.jamesst.one/til/feed.atom">Atom feed here</a>.
88

99
<!-- index starts -->
1010
## github-actions

amplitude/export-events-to-datasette.md

-15
This file was deleted.

asgi/lifespan-test-httpx.md

-29
This file was deleted.

auth0/auth0-logout.md

-30
This file was deleted.

auth0/oauth-with-auth0.md

-100
This file was deleted.

aws/athena-key-does-not-exist.md

-36
This file was deleted.

0 commit comments

Comments
 (0)