Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrosen committed Oct 21, 2023
1 parent ca4a63d commit bc57bba
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,16 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Configure git
env:
TOKEN: ${{ secrets.ACCESS_TOKEN }}
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com/".insteadOf "https://github.com/"

- name: Add Private Key
run: |-
eval `ssh-agent -s`
ssh-add - <<< '${{ secrets.DATA_ABOUT_THOMASROSEN_PRIVATE_KEY }}'
# - name: Configure git
# env:
# TOKEN: ${{ secrets.DATA_ABOUT_THOMASROSEN_PRIVATE_KEY }}
# run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com/".insteadOf "https://github.com/"

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
Expand Down

0 comments on commit bc57bba

Please sign in to comment.