diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1ecb114..6567352 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 @@ -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 }} diff --git a/release.config.js b/release.config.js index 4956efb..03f5238 100644 --- a/release.config.js +++ b/release.config.js @@ -64,7 +64,8 @@ const releaseConfig = { ] } ] - ] + ], + "repositoryUrl": "git@github.com:sne11ius/pp.git" } module.exports = releaseConfig