forked from PipedreamHQ/pipedream
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpush-registry-app-files-supabase.yaml
More file actions
44 lines (38 loc) · 1.08 KB
/
push-registry-app-files-supabase.yaml
File metadata and controls
44 lines (38 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Push Registry App Files to Supabase
on:
push:
branches:
- master
paths:
- 'components/**'
jobs:
push_to_supabase:
name: Push registry app files to Supabase if they have been modified
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repo
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v5.0.0
with:
version: 10.28.2
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 20
- uses: Ana06/get-changed-files@v2.3.0
id: changed_files
name: Get changed files
with:
format: json
- name: Upload modified or newly added *.app.mjs files to Supabase
uses: ./.github/actions/push-registry-app-files-supabase
with:
changed_files: ${{ steps.changed_files.outputs.all }}
supabase_anon_key: ${{ secrets.SUPABASE_ANON_KEY }}
supabase_uri: ${{ secrets.SUPABASE_URI }}