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

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

Open
stlr00 opened this issue Feb 5, 2022 · 0 comments
Open

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

stlr00 opened this issue Feb 5, 2022 · 0 comments

Comments

@stlr00
Copy link

stlr00 commented Feb 5, 2022

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant