Skip to content

Instantly share code, notes, and snippets.

@anggoran
anggoran / server.ts
Created January 13, 2023 04:05
Generating Sparkle Feed using Deno
import { serve } from "https://deno.land/std@0.168.0/http/server.ts";
import { createClient } from "https://esm.sh/@supabase/supabase-js@2.2.3";
import js2xmlparser from "https://esm.sh/js2xmlparser@5.0.0";
serve(async () => {
const supabaseURL = Deno.env.get("SUPABASE_URL");
const supabaseAnon = Deno.env.get("SUPABASE_ANON_KEY");
const supabase = createClient(supabaseURL!, supabaseAnon!);
@anggoran
anggoran / winmac-cicd.yaml
Created January 13, 2023 03:56
Github Actions code for releasing Windows & MacOS app to Github Release (and Supabase)
name: Release App
on:
push:
branches:
- main
jobs:
windows:
runs-on: windows-latest
steps:
- name: Git Checkout