uw-ssec / post-disaster-comms

Repository for the Post Disaster Comms Project
https://pdc-ssec.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

ci: Connect Netlify preview to cloud database #134

Open nikiburggraf opened 1 month ago

nikiburggraf commented 1 month ago

Maybe also spin up cloud server when a PR is created as a gh action

nikiburggraf commented 1 month ago

maybe add job to existing webpreview workflow maybe add aws creds to gh repo secrets check readme to grab/push anon key and URL to flutter -- whatever way is more secure -- may need to decrypt/recrypt

nikiburggraf commented 1 month ago
  1. create custom gh action
  2. add gh workflow
    1. workflow dispatch (same as 1)
  3. Add job in web preview
    1. spin up test service (same as 1)
jobs:
   steps:
       - name: deploy-test
          uses: ./actions/deploytest

doublecheck permissions for actions/workflows bc don't want arbitrary folks to be able to spend aws money