Switch to println!
instead of tracing for now
#26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Estuary Control-Plane CI/CD | |
on: | |
push: | |
# Only on pushes to the master branch | |
branches: [master] | |
# Only run if function code or the ci config itself has changed | |
paths: | |
- supabase/functions/** | |
- .github/workflows/control-ci-cd.yaml | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: supabase/setup-cli@v1 | |
with: | |
version: latest | |
- name: Deploy Supabase Edge Functions | |
if: ${{ github.ref == 'refs/heads/master' }} | |
id: deploy-supabase-fn | |
run: | | |
echo ${{ secrets.SUPABASE_ACCESS_TOKEN }} | supabase login | |
supabase functions deploy oauth --project-ref eyrcnmuzzyriypdajwdk |