Skip to content

Архивирование source_dir #11

Description

@stlr00

Я ожидал, что файлы из указаной папки будут заархивированы, но получается, что заархивирована вся папка

steps:
  - uses: actions/checkout@master
  - run: mkdir -p dist
  - run: cp -R src/. dist/
  - run: cp package*.json dist/

  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
  - uses: mnogolososya/yc_deploy_function_action@v1.9.0
    with:
        yc_account_id: ${{ secrets.ACC_ID }}
        yc_key_id: ${{ secrets.KEY_ID }}
        yc_private_key: ${{ secrets.KEY_PRIVATE }}
        function_name: 'spotify'
        runtime: 'nodejs16'
        function_entrypoint: 'index.handler'
        memory: 128
        source_dir: './dist/*'
        execution_timeout: 2
        folder_id: 'b1gpedb2nhseounieljr'

Результат:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions