use ssh deploy keys
All checks were successful
build / Build plugins (push) Successful in 15s

This commit is contained in:
Seaswimmer 2024-10-20 09:40:10 -04:00
parent 846780fe0c
commit 276e186a98
Signed by: cswimr
GPG key ID: A9C162E867C851FA

View file

@ -10,6 +10,10 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up SSH key
uses: actions/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
@ -17,8 +21,8 @@ jobs:
- name: Configure Git
run: |
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@www.coastalcommits.com/${{ github.repository }}
git config --global user.email "${GITHUB_ACTOR}@noreply@coastalcommits.com"
git remote set-url origin git@www.coastalcommits.com:${{ github.repository }}
- name: Install dependencies
run: npm ci
- name: Publish plugins to Release branch