Menghubungkan Repo di Github dengan Gitopia

Official Docs

Pastikan sudah memiliki akun GitHub

1. Fork Repository

2. Create a Repository di Gitopia

Nama Bebas

3. Masuk ke repository Github mu yang ingin dihubungkan

4. Klik Setting

5. Scroll dan Masuk ke Secret -> Action

6. Pilih New Secret

7. Beri nama dan masukan isi

  • Nama:

GITOPIA_WALLET
  • Isi menggunakan data dari wallet yang di download dari tutor sebelumnya. Tutor Sebelumnya

Gitu

8. Lanjut ke Action

9. Pilih Simple workflow

a. Ganti nama file .yml

Dari blank.yml

Menjadi gitopia-mirror.yml

b. Hapus isinya

c. Ganti dengan ini

name: Mirror to Gitopia

on:
  push:
    branches:
      - '**'

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Push to Gitopia mirror
        uses: gitopia/gitopia-mirror-action@v0.5.0
        with:
          gitopiaWallet: "${{ secrets.GITOPIA_WALLET }}"
          remoteUrl: "link-repo-gitopia-mu"
          force: false

link-repo-gitopia-mu ganti dengan link dari sini

Isi file .yml sekarang

d. Klik Start Commit

10. Kembali ke web gitopia

11. Refresh dan Cek hasilnya

Fork Repository di Gitopia

Last updated