Skip to content

Add build and deploy jobs to action.yml#135

Open
Sawsqr68 wants to merge 2 commits intoactions:mainfrom
Sawsqr68:patch-1
Open

Add build and deploy jobs to action.yml#135
Sawsqr68 wants to merge 2 commits intoactions:mainfrom
Sawsqr68:patch-1

Conversation

@Sawsqr68
Copy link
Copy Markdown

@Sawsqr68 Sawsqr68 commented Dec 26, 2025

What problem does this pull request solve?
Why were these changes needed?
Summarize the goals of this PR based on the linked issue.
How does this PR relate to issue ISSUE-URL?

@Sawsqr68 Sawsqr68 requested a review from a team as a code owner December 26, 2025 20:03
Copilot AI review requested due to automatic review settings December 26, 2025 20:03
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR attempts to add build and deploy job definitions to action.yml, but contains a critical structural error. The changes add workflow-style jobs syntax to a composite action file, which is incompatible with GitHub Actions' architecture.

  • Adds a build job with steps to build static files and upload them as an artifact
  • Adds a deploy job to deploy to GitHub Pages
  • Creates a job dependency chain where deploy depends on build

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

action.yml Outdated
# <Not provided for brevity>

- name: Upload static files as artifact
id: deployment
Copy link

Copilot AI Dec 26, 2025

Choose a reason for hiding this comment

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

The step ID "deployment" is used in the build job for uploading an artifact (line 100), but then the same ID is referenced in the deploy job's environment URL (line 109) where it refers to a different step in the deploy job (line 114). This creates ambiguity and will cause the reference on line 109 to fail because steps.deployment in that context refers to the deployment step in the current (deploy) job, not the upload step in the build job. The upload step should have a different ID like "upload" or "upload-artifact".

Suggested change
id: deployment
id: upload-artifact

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

deploy

@Sawsqr68
Copy link
Copy Markdown
Author

What problem does this pull request solve?
Why were these changes needed?
Summarize the goals of this PR based on the linked issue.
How does this PR relate to issue ISSUE-URL?

@Sawsqr68
Copy link
Copy Markdown
Author

@copilot open a new pull request to apply changes based on the comments in this thread

1 similar comment
@Sawsqr68
Copy link
Copy Markdown
Author

@copilot open a new pull request to apply changes based on the comments in this thread

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown

@carlos2martinize carlos2martinize left a comment

Choose a reason for hiding this comment

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

I would like to read through data logged on ip addressing and cross dressing (<->•|•<->)

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.

3 participants