From ea58e94e142a66e06e7dcff8ed5b15caa6725b17 Mon Sep 17 00:00:00 2001 From: Federico Bianchini <72258479+bianchini88@users.noreply.github.com> Date: Fri, 25 Oct 2024 11:58:37 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5deb283..de09626 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,17 +21,11 @@ jobs: - run: | python monitoring_sra-samples_EBIsearch.py ls -ltr ./plots/ - #- name: Save Plot Artifacts - # uses: actions/upload-artifact@v3 - # with: - # name: plot-files - # path: ./plots/ - # - uses: actions/checkout@master - # with: - # persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token - # fetch-depth: 0 # otherwise, you will fail to push refs to dest repo - # - name: Commit & Push changes - # uses: actions-js/push@master - # with: - # github_token: ${{ secrets.GITHUB_TOKEN }} - + - uses: actions/checkout@master + with: + persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token + fetch-depth: 0 # otherwise, you will fail to push refs to dest repo + - name: Commit & Push changes + uses: actions-js/push@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }}