v0.3.2

Documentation version

v0.2.4v0.3.2
en

Documentation language

en

Search documentation

ESC

Documentation search

What are you working on?

Find a guide, configuration option, action, or ESH topic.

Browse documentation
DocsDeliver project artifacts

Deliver project artifacts

Delivery starts with the same graph as development: identify the checks that must pass, then describe the build and packaging steps that follow. Evin orders that work and reports its result; your build tool still creates the application.

Build only after checks pass

This example connects tests, a release build, and an archive:

stages: [Test, Build, Publish]

tasks:
  test:
    stage: Test
    description: "Run the project test suite"
    run: npm test

  build:
    stage: Build
    description: "Build the production application"
    needs: [test]
    run: npm run build

  package:
    stage: Publish
    description: "Package the generated site and license"
    needs: [build]
    steps:
      - uses: evin/archive@v1
        with:
          path: dist/my-app.tar.gz
          include: [dist/index.html, LICENSE]
          prefix: my-app
          layout: relative

The dependency edges express the delivery gate: Evin skips the build if tests fail, and skips packaging if the build fails. The archive action collects the paths you name; it does not compile the application or publish the result to a release host.

Add release metadata when you need it

Other built-in actions can calculate a version, prepare changelog content, or create a local Git release commit. They are separate capabilities that you can add to the graph when your release process needs them. Uploading to a provider requires the matching credentials and provider integration.

Keep generated artifacts scoped to the task or module that owns them. A repository does not need one root directory containing every module's output. For exact archive inputs and outputs, see the archive reference. To turn Markdown into a site, continue with writing project documentation and building a documentation site.

The example shows how to arrange delivery tasks. For platform and artifact availability, see the installation guide and platform policy.

Next: write project documentation, browse the focused delivery examples, or return to the ESH learning path.

Page source: book/70.deliver-project-artifacts.md