Pass token properly
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -57,7 +57,7 @@ jobs:
|
|||||||
platform=$(echo $platform | sed 's/.exe//g')
|
platform=$(echo $platform | sed 's/.exe//g')
|
||||||
extension=".exe"
|
extension=".exe"
|
||||||
fi
|
fi
|
||||||
zip -r "compressed_artifacts/zurg-${{ steps.version.outputs.version }}-$platform.zip" "artifacts/zurg-$platform$extension"
|
(cd artifacts && zip -r "compressed_artifacts/zurg-${{ steps.version.outputs.version }}-$platform.zip" "zurg-$platform$extension")
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Upload artifacts to workflow
|
- name: Upload artifacts to workflow
|
||||||
@@ -91,7 +91,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Clone target repository
|
- name: Clone target repository
|
||||||
run: |
|
run: |
|
||||||
git clone https://x-access-token:$PAT@github.com/debridmediamanager/zurg-1000.git
|
git clone https://x-access-token:${{ secrets.TOKEN }}@github.com/debridmediamanager/zurg-1000.git
|
||||||
cd zurg-1000
|
cd zurg-1000
|
||||||
git lfs install
|
git lfs install
|
||||||
|
|
||||||
@@ -108,4 +108,4 @@ jobs:
|
|||||||
git commit -m "Release ${{ steps.version.outputs.version }}"
|
git commit -m "Release ${{ steps.version.outputs.version }}"
|
||||||
git push
|
git push
|
||||||
env:
|
env:
|
||||||
PAT: ${{ secrets.PAT }}
|
PAT: ${{ secrets.TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user