Skip to content

Commit

Permalink
rework again
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeker12 committed Sep 5, 2024
1 parent c31f097 commit dcd3e3e
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/importer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,13 @@ jobs:
with:
python-version: '3.x'

- name: Configure Git credentials
- name: Install dependencies
env:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
id: git-config
run: |
git config --global url."https://${PERSONAL_ACCESS_TOKEN}@github.com/".insteadOf "https://github.com/"
echo "git_configured=true" >> $GITHUB_OUTPUT
- name: Install dependencies
if: steps.git-config.outputs.git_configured == 'true'
run: |
python -m pip install --upgrade pip
pip install git+https://github.com/deploymenttheory/jamftf-python-terraform-importer@latest
pip install git+https://github.com/thejoeker12/jamfpy@latest
pip install git+https://${PERSONAL_ACCESS_TOKEN}@github.com/deploymenttheory/jamftf-python-terraform-importer@latest
pip install git+https://${PERSONAL_ACCESS_TOKEN}@github.com/thejoeker12/jamfpy@latest
pip install -r scripts/requirements.txt
- name: Run Python script
Expand Down

0 comments on commit dcd3e3e

Please sign in to comment.