2024-02-01 04:31:40
This commit is contained in:
parent
8bbc132f35
commit
644e95a029
|
@ -34,7 +34,7 @@ jobs:
|
||||||
-H 'Authorization: Bearer ${{ secrets.BOT_MIRROR_TOKEN_GITLAB }}' \
|
-H 'Authorization: Bearer ${{ secrets.BOT_MIRROR_TOKEN_GITLAB }}' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-A '${{ env.USER_AGENT }}' \
|
-A '${{ env.USER_AGENT }}' \
|
||||||
'${{ env.DOMAIN }}/api/${{ env.VERSION }}/projects' \
|
'${{ env.DOMAIN }}/api/${{ env.VERSION }}/projects/' \
|
||||||
-d '{"name":"${{ env.REPO_NAME }}","path":"${{ env.REPO_NAME }}","namespace_id":"${{ env.NSID }}","visibility":"public"}'
|
-d '{"name":"${{ env.REPO_NAME }}","path":"${{ env.REPO_NAME }}","namespace_id":"${{ env.NSID }}","visibility":"public"}'
|
||||||
fi
|
fi
|
||||||
- name: 'Mirror repository'
|
- name: 'Mirror repository'
|
||||||
|
@ -110,7 +110,7 @@ jobs:
|
||||||
-H 'Authorization: Bearer ${{ secrets.BOT_MIRROR_TOKEN_MOSHUB }}' \
|
-H 'Authorization: Bearer ${{ secrets.BOT_MIRROR_TOKEN_MOSHUB }}' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-A '${{ env.USER_AGENT }}' \
|
-A '${{ env.USER_AGENT }}' \
|
||||||
'${{ env.DOMAIN }}/api/${{ env.VERSION }}/projects' \
|
'${{ env.DOMAIN }}/api/${{ env.VERSION }}/projects/' \
|
||||||
-d '{"name":"${{ env.REPO_NAME }}","path":"${{ env.REPO_NAME }}","namespace_id":"${{ env.NSID }}","visibility":"public"}'
|
-d '{"name":"${{ env.REPO_NAME }}","path":"${{ env.REPO_NAME }}","namespace_id":"${{ env.NSID }}","visibility":"public"}'
|
||||||
fi
|
fi
|
||||||
- name: 'Mirror repository'
|
- name: 'Mirror repository'
|
||||||
|
|
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2023 iHub TO <https://ihub.to>
|
Copyright (c) 2023 Kai Kimera <https://kai.kim>
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
Loading…
Reference in New Issue