Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
hadithmv committed Dec 29, 2023
1 parent 0fb0841 commit ef47861
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 41 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/action.yml

This file was deleted.

29 changes: 16 additions & 13 deletions .github/workflows/mirror-example.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
name: Gitlab Sync
name: Mirror and run GitLab CI

on: [push, pull_request, create, delete]
on: [push]

jobs:
sync:
name: Gitlab Sync
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: action-pack/gitlab-sync@v3
with:
username: ${{ github.actor }}
url: https://gitlab.com/${{ github.repository }}.git
# Personal access token from gitlab.com
token: ${{ secrets.MIRROR_TRY_ME_TOKEN }}
- uses: actions/checkout@v1
- name: Mirror + trigger CI
uses: SvanBoxel/gitlab-mirror-and-ci-action@master
with:
args: "https://gitlab.com/hadithmv/hadithmv.github.io"
env:
FOLLOW_TAGS: "false"
FORCE_PUSH: "false"
GITLAB_HOSTNAME: "gitlab.com"
GITLAB_USERNAME: "hadithmv"
GITLAB_PASSWORD: ${{ secrets.MIRROR_TRY_ME_TOKEN }}
GITLAB_PROJECT_ID: "https://gitlab.com/hadithmv/hadithmv.github.io/edit"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ef47861

Please sign in to comment.