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')
|
||||
extension=".exe"
|
||||
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
|
||||
|
||||
- name: Upload artifacts to workflow
|
||||
@@ -91,7 +91,7 @@ jobs:
|
||||
|
||||
- name: Clone target repository
|
||||
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
|
||||
git lfs install
|
||||
|
||||
@@ -108,4 +108,4 @@ jobs:
|
||||
git commit -m "Release ${{ steps.version.outputs.version }}"
|
||||
git push
|
||||
env:
|
||||
PAT: ${{ secrets.PAT }}
|
||||
PAT: ${{ secrets.TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user