We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
I'm getting the following error when my action run.
Error: No files were found with the provided path: backups/backup.tar.gz. No artifacts will be uploaded.
Version: v0.4
Here is my .yml action code (note: I have a monorepo and 'studio' is the folder where Sanity resides):
name: Sanity Dataset Backup on: schedule: # Runs at 06:00pm EST everyday - cron: '0 18 * * *' workflow_dispatch: jobs: backup-dataset: runs-on: ubuntu-latest name: Backup dataset defaults: run: working-directory: studio steps: - uses: actions/checkout@v2 - name: Export dataset uses: sanity-io/[email protected] env: SANITY_AUTH_TOKEN: ${{ secrets.SANITY_AUTH_TOKEN }} with: args: studio dataset export production backups/backup.tar.gz - name: Upload backup.tar.gz uses: actions/upload-artifact@v2 with: name: backup-tarball path: backups/backup.tar.gz # Fails the workflow if no files are found; defaults to 'warn' if-no-files-found: error
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm getting the following error when my action run.
Error: No files were found with the provided path: backups/backup.tar.gz. No artifacts will be uploaded.
Version: v0.4
Here is my .yml action code (note: I have a monorepo and 'studio' is the folder where Sanity resides):
The text was updated successfully, but these errors were encountered: