Actualizar .github/workflows/sync-to-github.yml
This commit is contained in:
13
.github/workflows/sync-to-github.yml
vendored
13
.github/workflows/sync-to-github.yml
vendored
@@ -14,14 +14,13 @@ jobs:
|
|||||||
--add-host gitea:host-gateway
|
--add-host gitea:host-gateway
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source from Gitea
|
- name: Clone source from Gitea
|
||||||
uses: actions/checkout@v4
|
run: |
|
||||||
with:
|
git clone https://git.natxocc.com/natxocc/sigpro.git source
|
||||||
fetch-depth: 1
|
cd source
|
||||||
path: source
|
git checkout main
|
||||||
repository: https://git.natxocc.com/natxocc/sigpro.git
|
|
||||||
|
|
||||||
- name: Checkout destination from GitHub
|
- name: Clone destination from GitHub
|
||||||
run: |
|
run: |
|
||||||
git clone https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/natxocc/sigpro.git dest
|
git clone https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/natxocc/sigpro.git dest
|
||||||
cd dest
|
cd dest
|
||||||
|
|||||||
Reference in New Issue
Block a user