mirror of
https://github.com/driftywinds/YT-builds.git
synced 2025-12-19 04:23:32 +00:00
Delete .github/workflows/github-codeberg.yml
This commit is contained in:
29
.github/workflows/github-codeberg.yml
vendored
29
.github/workflows/github-codeberg.yml
vendored
@@ -1,29 +0,0 @@
|
||||
# Sync repo to the Forgejo mirror
|
||||
name: Repo sync (GitHub -> Forgejo)
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '**'
|
||||
workflow_dispatch: # Manual dispatch
|
||||
schedule:
|
||||
- cron: "0 */6 * * *"
|
||||
|
||||
jobs:
|
||||
sync-repo-to-forgejo:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: "Gather facts"
|
||||
run: |
|
||||
echo "Repo variables:"
|
||||
echo " FORGEJO_PUSH_URL: ${{ vars.FORGEJO_BASE_URL }}${{ vars.FORGEJO_REPO }}.git"
|
||||
echo " FORGEJO_USERNAME: ${{ vars.FORGEJO_USERNAME }}"
|
||||
- name: "Sync repo"
|
||||
uses: spyoungtech/mirror-action@master
|
||||
with:
|
||||
REMOTE: "https://codeberg.org/driftywinds/yt-builds.git"
|
||||
GIT_USERNAME: driftywinds
|
||||
GIT_PASSWORD: ${{ secrets._FORGEJO_TOKEN }}
|
||||
Reference in New Issue
Block a user