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

added new action to build + push to azure #2152

Closed
wants to merge 2 commits into from

Conversation

lamATnginx
Copy link

Proposed changes

Problem: Due to the shift away from netlify to azure, the build must be updated to build + push to Azure.

Solution: Create a new action that is only triggered when docs related changes are made.

Testing: Manual testing to ensure build is correct and triggered as defined in Solution.

Please focus on (optional): If you any specific areas where you would like reviewers to focus their attention or provide
specific feedback, add them here.

Closes #ISSUE

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Release notes

If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.


@lamATnginx lamATnginx requested a review from a team as a code owner June 18, 2024 21:35
@lamATnginx lamATnginx marked this pull request as draft June 18, 2024 21:35
@github-actions github-actions bot added the chore Pull requests for routine tasks label Jun 18, 2024
@@ -0,0 +1,40 @@
name: Build + Push to Azure
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add "docs" to this name (and the name of the file itself) so it's clear what this is for? (and not the product).

branch:
description: "Source branch to deploy"
required: false
default: "main"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think source branch should be required, and not default to main. This way someone doesn't accidentally publish our docs from the main branch, since we want our published docs to always be from a release branch.

- prod
push:
branches:
- main
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar to the comment above, I'm assuming this is going to publish our public docs for every push to main? if so, we don't want that behavior, we only publish from our latest release branch.

Copy link
Contributor

github-actions bot commented Jul 9, 2024

This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@github-actions github-actions bot added the stale Pull requests/issues with no activity label Jul 9, 2024
Copy link

codecov bot commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.61%. Comparing base (36d8120) to head (c06c444).
Report is 35 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2152   +/-   ##
=======================================
  Coverage   87.61%   87.61%           
=======================================
  Files          96       96           
  Lines        6695     6695           
  Branches       50       50           
=======================================
  Hits         5866     5866           
  Misses        773      773           
  Partials       56       56           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

This PR was closed because it has been stalled for 14 days with no activity.

@github-actions github-actions bot closed this Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks stale Pull requests/issues with no activity
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants