Skip to content

Commit

Permalink
Git path test
Browse files Browse the repository at this point in the history
  • Loading branch information
apolignano committed Jan 22, 2025
1 parent 2e8d62a commit bba4059
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI/CD Pipeline
name: CI Pipeline

on:
workflow_run:
Expand All @@ -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 }}
Expand All @@ -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)
Expand Down

0 comments on commit bba4059

Please sign in to comment.