Skip to content
This repository was archived by the owner on Aug 10, 2024. It is now read-only.
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/03-publish-feed-generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Render Config
run: |
python render-configs.py
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
- name: Publish Feed Generators
run: |
cd feed-generator/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete-feed-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: Delete Feed Generator
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
- name: Delete Feed Generator
env:
RECORD_NAME: ${{ inputs.record_name }}
Expand Down
10 changes: 1 addition & 9 deletions feed-generator/deleteFeedGenerator.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import dotenv from 'dotenv'
import { AtpAgent, BlobRef } from '@atproto/api'
import {AtpAgent} from '@atproto/api'

const run = async () => {
dotenv.config()
Expand All @@ -12,14 +12,6 @@ const run = async () => {
const agent = new AtpAgent({ service: 'https://bsky.social' })
await agent.login({ identifier: handle, password })

try {
await agent.api.app.bsky.feed.describeFeedGenerator()
} catch (err) {
throw new Error(
'The bluesky server is not ready to accept published custom feeds yet',
)
}

let record = {
repo: agent.session?.did ?? '',
collection: 'app.bsky.feed.generator',
Expand Down