Skip to content

fix: force-add archived docs ignored by .gitignore#7

Merged
leseb merged 1 commit into
mainfrom
leseb/fix-gitignore-add
Apr 29, 2026
Merged

fix: force-add archived docs ignored by .gitignore#7
leseb merged 1 commit into
mainfrom
leseb/fix-gitignore-add

Conversation

@leseb
Copy link
Copy Markdown
Contributor

@leseb leseb commented Apr 29, 2026

The "Commit archived version" CI step fails when building non-latest versions because docs/ is in .gitignore. git add refuses to stage files under ignored directories. This adds the -f flag to force-add the archived version build output, which is the correct behavior since these files need to be committed to the repo despite the general ignore rule.

Fixes: https://github.com/ogx-ai/ogx-ai.github.io/actions/runs/25110094627/job/73581498741

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@leseb leseb merged commit 5bd62a9 into main Apr 29, 2026
1 check passed
@leseb leseb deleted the leseb/fix-gitignore-add branch April 29, 2026 13:03
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.

1 participant