Skip to content

Commit

Permalink
ci: lets try a deploy key
Browse files Browse the repository at this point in the history
  • Loading branch information
sne11ius committed May 23, 2024
1 parent 21ee93e commit 50c476f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
uses: crazy-max/ghaction-upx@v3
with:
install-only: true
- name: setup ssh
run: |
mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan github.com >> ~/.ssh/known_hosts
- name: Install semantic-release and plugins globally
run: |
npm install -g semantic-release
Expand All @@ -51,5 +57,5 @@ jobs:
- name: Semantic release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.PAT_SECRET }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_USER: ${{ github.actor }}
3 changes: 2 additions & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ const releaseConfig = {
]
}
]
]
],
"repositoryUrl": "[email protected]:sne11ius/pp.git"
}

module.exports = releaseConfig

0 comments on commit 50c476f

Please sign in to comment.