You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm guessing BASE_PATH is not working as expected so that uploading artifact fails.
Sorry but I did not dig into implementation of cli yet.
- name: build
env:
BASE_PATH: '/${{ github.event.repository.name }}' # -> guessing this part is not working so that upload artifact part fails
## Add and uncomment any environment variables here
## EVIDENCE_SOURCE__my_source__username: ${{ secrets.EVIDENCE_SOURCE__MY_SOURCE__USERNAME }}
## EVIDENCE_SOURCE__my_source__private_key: ${{ secrets.EVIDENCE_SOURCE__MY_SOURCE__PRIVATE_KEY }}
run: |
npm run sources
npm run build
- name: Upload Artifacts
uses: actions/upload-pages-artifact@v3
with:
path: 'build/${{ github.event.repository.name }}' # -> fails for "directory not found"
changing to below fixed the issue for me
- name: build
env:
- BASE_PATH: '/${{ github.event.repository.name }}'
## Add and uncomment any environment variables here
## EVIDENCE_SOURCE__my_source__username: ${{ secrets.EVIDENCE_SOURCE__MY_SOURCE__USERNAME }}
## EVIDENCE_SOURCE__my_source__private_key: ${{ secrets.EVIDENCE_SOURCE__MY_SOURCE__PRIVATE_KEY }}
run: |
npm run sources
npm run build
- name: Upload Artifacts
uses: actions/upload-pages-artifact@v3
with:
- path: 'build/${{ github.event.repository.name }}'+ path: './build
Anyway this project is incredible and we are already planning to migrate our internal tools.
Are you interested in contributing this improvement to the docs?
I'm just making a suggestion
The text was updated successfully, but these errors were encountered:
Request Type
Small Fix (wording, errors, typos, etc.)
Description
As I followed Deployment > GitHub Pages, the sample actions did not worked correctly.
I'm guessing
BASE_PATH
is not working as expected so that uploading artifact fails.Sorry but I did not dig into implementation of cli yet.
changing to below fixed the issue for me
Anyway this project is incredible and we are already planning to migrate our internal tools.
Are you interested in contributing this improvement to the docs?
I'm just making a suggestion
The text was updated successfully, but these errors were encountered: