diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index e38cd2c33..cae32cac9 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -1,4 +1,4 @@ -name: CI/CD Pipeline +name: CI Pipeline on: workflow_run: @@ -11,13 +11,13 @@ jobs: runs-on: self-hosted steps: - - name: Checkout deploy branch - uses: actions/checkout@v3 + - name: Clean up run: | - source ~/miniforge3/etc/profile.d/conda.sh - conda activate base - export GIT_DISCOVERY_ACROSS_FILESYSTEM=1 + export PATH="$CONDA_PREFIX/bin:$PATH" rm -rf ~/release-procedures/v2/frontend-runner/_work/interpro7-client/interpro7-client/* + + - name: Checkout deploy branch + uses: actions/checkout@v3 with: clean: true token: ${{ secrets.GITHUB_TOKEN }} @@ -26,6 +26,8 @@ jobs: - name: Release run: | + + export PATH="$CONDA_PREFIX/bin:$PATH" commit_hash=$(git log -1 --pretty=format:"%H") changed_files=$(git show --name-only --pretty="" $commit_hash)