Skip to content

Commit

Permalink
try with token
Browse files Browse the repository at this point in the history
  • Loading branch information
noa-kogonia committed Dec 1, 2024
1 parent ef59c75 commit e0027c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/deploy-to-QA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,21 @@ jobs:
environment: Staging
steps:
- uses: actions/checkout@v3
- name: Login to Github
with:
token: ${{ secrets.CI_DEV_GITHUB_TOKEN }}
persist-credentials: true

- name: Setup Git Authentication
env:
COMMIT_AUTHOR: ${{ secrets.CI_COMMIT_AUTHOR }}
COMMIT_EMAIL: ${{ secrets.CI_COMMIT_EMAIL }}
MY_PERSONAL_ACCESS_TOKEN: ${{ secrets.CI_DEV_GITHUB_TOKEN }}
run: |
git config --global user.name $COMMIT_AUTHOR
git config --global user.email $COMMIT_EMAIL
git config --global credential.helper 'cache --timeout=300'
git config --global --add "credential.https://github.com.username" "x-access-token"
echo "https://x-access-token:[email protected]" > ~/.git-credentials
- name: Check if fixed version is on Jira
env:
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,5 @@
},

"dependencies": {}

}

0 comments on commit e0027c6

Please sign in to comment.