mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2024-10-01 05:35:57 +00:00
Publish repo mirrors (#1157)
This commit is contained in:
parent
45a5a5d2ca
commit
c01b285fe4
31
.github/workflows/mirror.yml
vendored
Normal file
31
.github/workflows/mirror.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
name: 🪞 Push to Mirrors
|
||||||
|
|
||||||
|
on: [ push, delete, create ]
|
||||||
|
|
||||||
|
# Ensures that only one mirror task will run at a time.
|
||||||
|
concurrency:
|
||||||
|
group: git-mirror
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
git-mirror:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Mirror to GitLab
|
||||||
|
uses: wearerequired/git-mirror-action@v1
|
||||||
|
env:
|
||||||
|
SSH_PRIVATE_KEY: ${{ secrets.ACTIONS_SSH_KEY }}
|
||||||
|
with:
|
||||||
|
source-repo: "git@github.com:privacyguides/privacyguides.org.git"
|
||||||
|
destination-repo: "git@gitlab.com:privacyguides/privacyguides.org.git"
|
||||||
|
|
||||||
|
- name: Cleanup
|
||||||
|
run: |
|
||||||
|
sudo rm -rf privacyguides.org.git
|
||||||
|
|
||||||
|
- name: Mirror to Codeberg
|
||||||
|
uses: wearerequired/git-mirror-action@v1
|
||||||
|
env:
|
||||||
|
SSH_PRIVATE_KEY: ${{ secrets.ACTIONS_SSH_KEY }}
|
||||||
|
with:
|
||||||
|
source-repo: "git@github.com:privacyguides/privacyguides.org.git"
|
||||||
|
destination-repo: "git@codeberg.org:privacyguides/privacyguides.org.git"
|
4
.github/workflows/preview.yml
vendored
4
.github/workflows/preview.yml
vendored
@ -3,6 +3,10 @@ name: 🔂 Surge PR Preview
|
|||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
|
# Ensures that only one mirror task will run at a time.
|
||||||
|
concurrency:
|
||||||
|
group: surge-sh
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
preview:
|
preview:
|
||||||
|
@ -59,6 +59,13 @@ Our current list of team members can be found [here](https://github.com/orgs/pri
|
|||||||
- Browse our [open issues](https://github.com/privacyguides/privacyguides.org/issues) to see what needs to be updated
|
- Browse our [open issues](https://github.com/privacyguides/privacyguides.org/issues) to see what needs to be updated
|
||||||
- View some contribution tips on our [contributor's wiki](https://github.com/privacyguides/privacyguides.org/wiki)
|
- View some contribution tips on our [contributor's wiki](https://github.com/privacyguides/privacyguides.org/wiki)
|
||||||
|
|
||||||
|
## Mirrors
|
||||||
|
|
||||||
|
[![GitHub](https://img.shields.io/static/v1?logo=github&label=&message=GitHub&color=000&style=for-the-badge)](https://github.com/privacyguides/privacyguides.org)
|
||||||
|
[![Gitea](https://img.shields.io/static/v1?logo=gitea&label=&message=Gitea&color=000&style=for-the-badge)](https://code.privacyguides.dev/privacyguides/privacyguides.org)
|
||||||
|
[![GitLab](https://img.shields.io/static/v1?logo=gitlab&label=&message=GitLab&color=000&style=for-the-badge)](https://gitlab.com/privacyguides/privacyguides.org)
|
||||||
|
[![Codeberg](https://img.shields.io/static/v1?logo=codeberg&label=&message=Codeberg&color=000&style=for-the-badge)](https://codeberg.org/privacyguides/privacyguides.org)
|
||||||
|
|
||||||
## Developing
|
## Developing
|
||||||
|
|
||||||
1. Clone this repository and submodules: `git clone --recurse-submodules https://github.com/privacyguides/privacyguides.org`
|
1. Clone this repository and submodules: `git clone --recurse-submodules https://github.com/privacyguides/privacyguides.org`
|
||||||
|
Loading…
Reference in New Issue
Block a user