Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
- Add AudioSection component with media player and waveform visualization - Add NoteContent component with inline link support and syntax highlighting - Add NoteSidebar with collapsible sections for navigation - Add SidebarContext for managing sidebar state - Update note page layout to use new component architecture - Add assets utility for GCS audio/video URL generation - Update content library with audio/skill/prompt type support - Add vision.md with editorial guidelines - Update .gitignore with additional security patterns - Add upload-asset.sh script for GCS asset management Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
17 lines
434 B
Bash
Executable File
17 lines
434 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
BUCKET="orchard9-assets"
|
|
PREFIX="research-notes"
|
|
|
|
LOCAL_FILE="$1"
|
|
REMOTE_PATH="$2"
|
|
|
|
[[ -z "$LOCAL_FILE" || -z "$REMOTE_PATH" ]] && {
|
|
echo "Usage: $0 <local-file> <remote-path>"
|
|
echo "Example: $0 ./audio.m4a audio/notes/003-research-planning/audio.m4a"
|
|
exit 1
|
|
}
|
|
|
|
gcloud storage cp "$LOCAL_FILE" "gs://${BUCKET}/${PREFIX}/${REMOTE_PATH}"
|
|
echo "https://storage.googleapis.com/${BUCKET}/${PREFIX}/${REMOTE_PATH}"
|