Skip to content

Commit

Permalink
debug: check directory tree
Browse files Browse the repository at this point in the history
  • Loading branch information
cybardev authored Jan 25, 2024
1 parent 82d929a commit a753d72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/resume.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
- name: Run resume generation script
id: generate
run: |
sudo apt install -y tree
tree
RESUME_SCRIPT="./resume/${{ github.repository_owner }}.py"
if [[ -f "${RESUME_SCRIPT}" ]]; then
export PYTHONPATH=$PYTHONPATH:$PWD/src/
Expand All @@ -44,8 +46,6 @@ jobs:
id: check_updates
if: steps.generate.outputs.skip == 'false'
run: |
sudo apt install -y tree
tree
RESUME_CHANGED=$(git diff ./static/assets | grep md | head -n 1)
INDEX_CHANGED=$(git diff ./static | grep index.html | head -n 1)
UPDATE=$(python3 -c "print(str('${RESUME_CHANGED}'.endswith('.md') or '${INDEX_CHANGED}'.endswith('html')).lower())")
Expand Down

0 comments on commit a753d72

Please sign in to comment.