now syncing github via shared workflow
Sync GitHub / sync (push) Successful in 7s
Docker Publish / docker (push) Failing after 49s
Push Develop / docker (push) Failing after 49s
PHP Test / test (push) Successful in 1m10s
Tests / test (push) Successful in 1m10s

This commit is contained in:
2026-09-25 09:03:42 -04:00
parent ba8924a244
commit 51e921f54f
2 changed files with 10 additions and 27 deletions
+9 -26
View File
@@ -1,3 +1,5 @@
# Sync GitHub - upload branch change to github, via the shared workflow
name: Sync GitHub
on:
@@ -11,31 +13,12 @@ on:
jobs:
sync:
runs-on: ubuntu-latest
uses: private/ci/.gitea/workflows/sync-github.yaml@v1
with:
sync-target: ${{ vars.SYNC_GITHUB_TARGET }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config --global user.name "Andrew Sync"
git config --global user.email "sync@digitaladapt.com"
- name: Add GitHub Remote
env:
SYNC_TOKEN: ${{ secrets.SYNC_GITHUB_TOKEN }}
SYNC_TARGET: ${{ vars.SYNC_GITHUB_TARGET }}
run: |
git remote add github "https://digitaladapt:${SYNC_TOKEN}@github.com/$SYNC_TARGET" 2>/dev/null || git remote set-url github "https://digitaladapt:${SYNC_TOKEN}@github.com/$SYNC_TARGET"
- name: Push Current Branch
run: |
git push github HEAD:${GITHUB_REF_NAME}
- name: Push Tags
run: |
git push github --tags
# by default we do not alter existing github tags, but that can be changed here.
# force-tags: true
secrets:
SYNC_GITHUB_TOKEN: ${{ secrets.SYNC_GITHUB_TOKEN }}
+1 -1
View File
@@ -1,7 +1,7 @@
# Tests - ensure code quality, via the shared workflow.
#
# Checks include: PHPStan, PHPUnit, and PHP-CS-Fixer.
#
name: Tests
on: