Skip to content

Sync Repository at commit refs/heads/renovate/ghcr.io-felddy-foundryvtt-12.x #10

Sync Repository at commit refs/heads/renovate/ghcr.io-felddy-foundryvtt-12.x

Sync Repository at commit refs/heads/renovate/ghcr.io-felddy-foundryvtt-12.x #10

Workflow file for this run

name: Sync Repository
run-name: Sync Repository at commit ${{ github.ref }}
on: [push]
jobs:
Sync-Repository:
runs-on: ubuntu-latest
steps:
- name: Debounce 2 minute
uses: zachary95/[email protected]
with:
wait: 120
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup SSH
uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.FORGE_DEPLOY_KEY }}
- name: Prep Remotes
run: |
cd ${{ github.workspace }}
# Ignore hosts keys, since we accept them as-is, add remotes
git config --global core.sshCommand 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
git remote add forge git@${{ secrets.FORGE_DOMAIN }}:${{ github.repository }}.git &> /dev/null
- name: Push Code
run: |
cd ${{ github.workspace }}
git push forge ${{ github.ref_name }} &> /dev/null