Skip to content

Commit

Permalink
added PAT to gitlab url
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenaH84 committed May 16, 2024
1 parent c32dba5 commit 21a9888
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
uses: actions/checkout@v2

- name: Mirror changes
env:
GITLAB_PAT: ${{ secrets.GITLAB_PAT }}
run: |
git remote add gitlab ${{ env.GITLAB_URL }}
# Set GitLab URL with embedded PAT
GITLAB_URL="https://${GITLAB_PAT}@gitlab.sintef.no/FFP-products/prod/webapp-instances/102023526-1006.git"
git remote add gitlab $GITLAB_URL
git fetch origin
git push --mirror gitlab

0 comments on commit 21a9888

Please sign in to comment.