gauntlet-cswimr-plugins/.forgejo/workflows/publish.yaml
Renovate 75af8b3bd8
All checks were successful
Actions / Build Plugins (pull_request) Successful in 39s
chore(deps): update www.coastalcommits.com/cswimr/actions:yarn docker digest to 722287a
2025-01-03 00:11:01 +00:00

33 lines
1.3 KiB
YAML

name: Publish Plugins to Release Branch
on: workflow_dispatch
jobs:
publish:
name: Publish plugins
runs-on: docker
container: www.coastalcommits.com/cswimr/actions:yarn@sha256:722287afc7b0bf131ef46764987abdfa09c56cd4c61776a7977294bd4f1062bd
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up SSH key
uses: actions/ssh-agent@forgejo
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
instance-urls: "www.coastalcommits.com"
- name: Add instance URLs to known_hosts
run: ssh-keyscan -H www.coastalcommits.com >> ~/.ssh/known_hosts
- name: Setup Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: 18
cache: 'yarn'
- name: Configure Git
run: |
git config --global user.name "${GITHUB_ACTOR}"
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: yarn install --frozen-lockfile
- name: Publish plugins to Release branch
run: yarn run publish