-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Not a Paragon Project" #3
Comments
Hey @glaidler - do you mind sharing the usage of this GitHub Action in your workflow file so that we can better debug? One thing to consider using is jobs:
push_to_paragon:
name: Push to Paragon
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: push
+ working-directory: [DIRECTORY HERE]
uses: useparagon/paragraph-push@v1
with:
paragonKey: ${{ secrets.PARAGON_CLI_KEY }}
paragonZeusUrl: ${{ secrets.ZEUS_URL }}
paragonDashboardUrl: ${{ secrets.DASHBOARD_URL }} |
I have tried this, but get vscode syntax errors. All docs suggest that the working-directory only works with a "run", not with "uses"? |
I see - can we try using it in the jobs:
push_to_paragon:
name: Push to Paragon
runs-on: ubuntu-latest
+ defaults:
+ run:
+ working-directory: ./harbour-assist
steps:
- uses: actions/checkout@v4
- id: push
uses: useparagon/paragraph-push@v1
with:
paragonKey: ${{ secrets.PARAGON_CLI_KEY }}
paragonZeusUrl: ${{ secrets.ZEUS_URL }}
paragonDashboardUrl: ${{ secrets.DASHBOARD_URL }} edit: this may not work due to the checkout also using that same working directory though - looking into this further |
@glaidler I just added support for an optional jobs:
push_to_paragon:
name: Push to Paragon
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: push
- uses: useparagon/paragraph-push@v1
+ uses: useparagon/paragraph-push@b62d66b21d84f767c716c5cbee1e646d3fbf0db8
with:
paragonKey: ${{ secrets.PARAGON_CLI_KEY }}
paragonZeusUrl: ${{ secrets.ZEUS_URL }}
paragonDashboardUrl: ${{ secrets.DASHBOARD_URL }}
+ path: ./harbour-assist |
@glaidler What step is that erroring on? |
@glaidler I just updated the action to use a different strategy to check for a locally-specified CLI version, which should avoid this error. Can you try with this version: |
@glaidler almost there, thanks for your patience! I reverted a pending change that we have to the locally-specified CLI feature so you can test with just the subfolder support we discussed, let's try: |
How do I specify this to run the para build within a project folder?
Without this, the action always errors with "Not a Paragon Project"
The text was updated successfully, but these errors were encountered: