Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: download build artifact #5

Merged
merged 1 commit into from
Mar 19, 2024
Merged

ci: download build artifact #5

merged 1 commit into from
Mar 19, 2024

Conversation

rndquu
Copy link
Member

@rndquu rndquu commented Mar 18, 2024

Resolves #1 (comment)

This PR moves this workflow to the current github action

@rndquu
Copy link
Member Author

rndquu commented Mar 19, 2024

I'm merging this since I want to fix all of the preview deployments today

Overall now cloudflare deploy works this way:

  1. Build is called which uploads the build output (i.e. static html/js files) to github artifacts
  2. Deploy workflow is called in a privileged context (i.e. with access to github secrets) so we can simply pass secrets (example) instead of hardcoding them at https://github.com/ubiquity/cloudflare-deploy-action
  3. https://github.com/ubiquity/cloudflare-deploy-action is called here which downloads the build artifact and deploys it

@rndquu rndquu merged commit c797941 into main Mar 19, 2024
2 checks passed
@rndquu rndquu deleted the ci/download-build-artifact branch March 19, 2024 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Secure Secrets for Generalized Continuous Deploys
1 participant