Skip to content

Commit

Permalink
fix (CI): get rid of PAT in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-kerjean committed Nov 10, 2023
1 parent 0ac2bde commit 6bdf3a4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,12 @@ jobs:
persist-credentials: false
- name: Clone test repo
env:
PAT: ${{ secrets.PAT }}
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY_FILESTASH_TEST }}
run: |
git clone --depth 1 https://mickael-kerjean:$PAT@github.com/mickael-kerjean/filestash-test test
mkdir ~/.ssh/ && echo $DEPLOY_KEY > ~/.ssh/id_ed25519 && chmod 600 ~/.ssh/id_ed25519
ssh-keyscan github.com ~/.ssh/known_hosts
ssh -R git@github.com
git clone --depth 1 git@github.com:mickael-kerjean/filestash-test.git test
chmod -R 777 ./test/
- uses: actions/upload-artifact@master
with:
Expand Down

0 comments on commit 6bdf3a4

Please sign in to comment.