From e9e1cd71fe06e2968a7898c6a62831e0b1124a48 Mon Sep 17 00:00:00 2001 From: Dmitry Kirdyashkin Date: Tue, 4 Jul 2023 16:18:28 +0300 Subject: [PATCH] t --- .gitea/workflows/pipeline.yml | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/.gitea/workflows/pipeline.yml b/.gitea/workflows/pipeline.yml index 515920c..4e0a61d 100644 --- a/.gitea/workflows/pipeline.yml +++ b/.gitea/workflows/pipeline.yml @@ -18,24 +18,19 @@ jobs: name: Create archive runs-on: ubuntu-latest - # container: - # image: gitea.kdiva.ru/infrastructure/archiver - # credentials: - # username: ${{ env.REPO_AUTH_LOGIN }} - # password: ${{ env.REPO_AUTH_PASSWORD }} + container: + image: gitea.kdiva.ru/infrastructure/archiver + credentials: + username: "${{ env.REPO_AUTH_LOGIN }}" + password: "${{ env.REPO_AUTH_PASSWORD }}" steps: - # - name: Checkout ${{env.REPOSITORY}} - # uses: actions/checkout@v3 - # with: - # repository: ${{env.REPOSITORY}} - # github-server-url: https://gitea.kdiva.ru + - name: Checkout + uses: actions/checkout@v3 + with: + repository: ${{env.REPOSITORY}} + github-server-url: https://gitea.kdiva.ru - # - name: Create archive - # run: | - # zip -r -9 ${{env.REPOSITORY}}-${{env.BRANCH}}-${{env.BUILD_NUMBER}}.zip ./src/ - - - name: test + - name: Create archive run: | - echo "${{ env.REPO_AUTH_LOGIN }}" - echo "${{ env.REPO_AUTH_PASSWORD }}" \ No newline at end of file + zip -r -9 "${{env.REPOSITORY}}-${{env.BRANCH}}-${{env.BUILD_NUMBER}}.zip" ./src/