Skip to content
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

[doc] upload command #1832

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions digdag-docs/src/command_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,23 @@ Creates a project archive and upload it to the server. This command uploads work
Digdag excludes files start with dot (``.``) from project archives.
If you want to exclude other files, put a file named ``.digdagignore`` in the project root directory and write patterns to ignore in the same way as ``.gitignore``.


upload
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: console

$ digdag upload <path.tar.gz> <project>

Uploads the archive file (<path.tar.gz>) to the server as the project archive for the project name (<project>). Examples:

.. code-block:: console

$ tar -zcvf digdag-project.tar.gz -C mydag .
$ digdag upload digdag-project.tar.gz myproj

The archive is uploaded as-is, so make sure it does not include sensitive files like credentials.

download
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down