Skip to content

Commit

Permalink
refactor repository url
Browse files Browse the repository at this point in the history
  • Loading branch information
manuellysuzik authored Aug 7, 2023
1 parent 91768ff commit 297357d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ jobs:
run: |
git config user.name ${{ secrets.GITLAB_USER }}
git config user.email ${{ secrets.GITLAB_EMAIL }}
git remote add upstream ${{ secrets.GITLAB_DOC_URL }}
git config --global url.${{secrets.GITLAB_DOC_URL}}@topfreegames.com/.insteadOf https://github.com
git remote set-url origin ${{ secrets.GITLAB_DOC_URL }}
- name: Update Gitlab Documentation
run: |
LATEST_TAG=$(git describe --tags --always --abbrev=0)
Expand All @@ -47,4 +46,4 @@ jobs:
git cherry-pick -n $LATEST_TAG
git add \*.md docs/
git commit --allow-empty -m "Created by $GITHUB_ACTOR"
git push upstream $BRANCH_NAME
git push origin $BRANCH_NAME

0 comments on commit 297357d

Please sign in to comment.