-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
Labels
Description
Problem:
Since migrating to hugo, https://neovim.io/.well-known/atproto-did returns 404 not found, even though:
- it exists at
./static/.well-known/atproto-did hugo buildcopies it to./public/
Analysis
- Searched actions/deploy-pages issue tracker, no matches for "dot", "exclude", "ignore", etc.
- Likely root cause: Overly restrictive tar-file requirements (leading
./needed) actions/deploy-pages#203
Potential fixes
- use a path that does not start with a dot
- this would be preferrable, @echasnovski is this possible ?
- switch to peaceiris/actions-gh-pages
- do a manual
tarstep like below (AI generated, idk):
- name: Create and upload artifact with fixed tar paths
run: |
cd public
tar --create --verbose --file=../pages-artifact.tar \
--transform='s|^|./|' * .*/ # Key: --transform adds ./ prefix; * for files, .*/ for dotdirs
cd ..
shell: bash
- name: Upload fixed artifact
uses: actions/upload-pages-artifact@v3
with:
path: pages-artifact.tar # Upload the custom tar directly