Files
securebit-chat/.github/workflows/mirror-to-privacyguides.yml

25 lines
602 B
YAML

name: Mirror to PrivacyGuides
on:
push:
branches:
- main
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Push to PrivacyGuides (HTTPS)
env:
PRIVACYGUIDES_TOKEN: ${{ secrets.PRIVACYGUIDES_TOKEN }}
run: |
git remote remove privacyguides || true
git remote add privacyguides https://SecureBitChat:${PRIVACYGUIDES_TOKEN}@code.privacyguides.dev/SecureBitChat/securebit-chat.git
git push privacyguides main --force