ubiquity / ts-template

A template repository for all @ubiquity projects.
2 stars 24 forks source link

ci: add reusable cloudflare deploy #37

Closed rndquu closed 8 months ago

rndquu commented 8 months ago

Resolves https://github.com/ubiquity/cloudflare-deploy-action/issues/1#issuecomment-1962714465

How it works:

  1. On pull_request or push the build workflow is called (which uploads build to github artifacts)
  2. When build is finished then deploy to cloudflare workflow is called (in privileged context, i.e. with access to organization secrets)
  3. Reusable cloudflare workflow is called
  4. Resuable cloudflare deploy action is called
github-actions[bot] commented 8 months ago
Lines Statements Branches Functions
Coverage: 80%
80% (4/5) 100% (0/0) 66.66% (2/3)

JUnit

Tests Skipped Failures Errors Time
1 0 :zzz: 0 :x: 0 :fire: 2.759s :stopwatch:
Coverage Report (80%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files8010066.6680 
   main.ts8010066.66809
ubiquity-os-deployer[bot] commented 8 months ago
84d03ca