Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Added secrets support.
  • Loading branch information
itsjrsa committed Mar 4, 2024
1 parent 76417b9 commit 59b4ce1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Configure Git
run: |
git config --global url."https://oauth2:${{ secrets.GITLAB_TOKEN }}@gitlab.inesctec.pt/".insteadOf "https://gitlab.inesctec.pt/"
- name: Install dependencies
run: |
pip install -r requirements.txt
Expand All @@ -40,6 +45,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Configure Git
run: |
git config --global url."https://oauth2:${{ secrets.GITLAB_TOKEN }}@gitlab.inesctec.pt/".insteadOf "https://gitlab.inesctec.pt/"
- name: Install dependencies
run: |
pip install -r requirements.txt
Expand Down

0 comments on commit 59b4ce1

Please sign in to comment.