Skip to content

chore: add v2 docs publish github action#3604

Open
chrisolsen wants to merge 1 commit intodevfrom
chris/docs-deployment
Open

chore: add v2 docs publish github action#3604
chrisolsen wants to merge 1 commit intodevfrom
chris/docs-deployment

Conversation

@chrisolsen
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@vanessatran-ddi vanessatran-ddi left a comment

Choose a reason for hiding this comment

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

I have some comments

NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx nx affected --target release --parallel=false --base=${{ steps.last_successful_commit.outputs.base }}

- name: Install oc CLI
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we add if: github.ref === 'refs/heads/docs like line 83?

- name: Update Web components documentation
run: cp libs/web-components/README.md dist/libs/web-components

- name: Release libs
Copy link
Collaborator

Choose a reason for hiding this comment

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

Question: So we will run this step even branch is docs?
Should we add a condition if: github.ref != 'refs/heads/docs?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The line is intended

uses: redhat-actions/oc-login@v1
with:
# URL to your OpenShift cluster.
# Refer to Step 2.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Which step 2 we refer in this comment?

index index.html;


location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we add svg, woff, woff2, ttf too

events {
worker_connections 1024;
}
http{
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe add a small space between http and {

@Spark450 Spark450 added the P1 Priority 1 (must have): Prevents product teams from adopting/using DS 2.0 as intended at launch. label Mar 19, 2026
@@ -0,0 +1,5 @@
FROM registry.access.redhat.com/ubi9/nginx-124

COPY . /usr/share/nginx/html
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this is wrong. Currently in the nginx.conf, you're pointing to /opt/app-root/src, while here you're copying everything into /usr/share/nginx/html. So this should probably be changed to the same folder used in the nginx.conf. Also would be a good idea to make that directory the WORKDIR.

Also with this, the nginx.conf is being copied here as well, not into the the actual configuration directory, so I don't think it'll be loaded and run properly. I'm not sure what the configuration directory is though on our server, /usr/local/nginx/conf, /etc/nginx, or /usr/local/etc/nginx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P1 Priority 1 (must have): Prevents product teams from adopting/using DS 2.0 as intended at launch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants