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

Fix env for BD_TOKEN #4268

Merged
merged 1 commit into from Nov 7, 2023
Merged

Fix env for BD_TOKEN #4268

merged 1 commit into from Nov 7, 2023

Conversation

yangchuansheng
Copy link
Collaborator

@yangchuansheng yangchuansheng commented Nov 7, 2023

🤖 Generated by Copilot at c1afaa9

Summary

🔑🧹🚀

This pull request updates the workflows for building and deploying the documentation site using BuildDocs. It simplifies the configuration, adds the BD_TOKEN variable for authentication, and fixes the usage of the secret variable in the docs-site-image.yml file.

We are the secrets of the code
We unleash the power of the BD_TOKEN
We simplify the env of the docs
We deploy the site with BuildDocs

Walkthrough

  • Add BD_TOKEN environment variable to authenticate with BuildDocs service in deploy-docs-preview and deploy-docs-site jobs (link, link)
  • Remove redundant env sections from build-and-push-image steps in .github/workflows/deploy-docs-preview.yml and .github/workflows/deploy-docs-site.yml (link, link)
  • Use secret variable instead of environment variable for BD_TOKEN in build-args section of build-and-push-image step in .github/workflows/docs-site-image.yml (link)

Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
@sealos-ci-robot
Copy link
Member

🤖 Generated by lychee action

Summary

Status Count
🔍 Total 981
✅ Successful 312
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 668
❓ Unknown 0
🚫 Errors 0

Full action output

Full Github Actions output

Copy link

sweep-ai bot commented Nov 7, 2023

Apply Sweep Rules to your PR?

  • Apply: All new business logic should have corresponding unit tests.
  • Apply: Refactor large functions to be more modular.

Copy link

codecov bot commented Nov 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@zzjin zzjin added this to the v5.0 milestone Nov 7, 2023
@zzjin zzjin merged commit 2113d17 into labring:main Nov 7, 2023
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants