fix: restore Create Release step with correct Swagger-compliant JSON and auth header
Release / build-and-release (push) Successful in 1m0s
Release / build-and-release (push) Successful in 1m0s
This commit is contained in:
@@ -16,7 +16,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --global --remove-section http || true
|
git config --global --remove-section http || true
|
||||||
git config --global --unset-all core.askPass || true
|
git config --global --unset-all core.askPass || true
|
||||||
TOKEN="${{ secrets.TOKEN_BUILD }}"
|
TOKEN="${{ secrets.BUILD_TOKEN }}"
|
||||||
git clone --recurse-submodules \
|
git clone --recurse-submodules \
|
||||||
-c credential.helper="" \
|
-c credential.helper="" \
|
||||||
https://token:$TOKEN@git.datadunia.com/devops/wireguard-vpn.git .
|
https://token:$TOKEN@git.datadunia.com/devops/wireguard-vpn.git .
|
||||||
@@ -63,8 +63,7 @@ jobs:
|
|||||||
- name: Create Release and upload assets
|
- name: Create Release and upload assets
|
||||||
env:
|
env:
|
||||||
# PINDAHKAN TOKEN KE SINI
|
# PINDAHKAN TOKEN KE SINI
|
||||||
TOKEN: ${{ secrets.TOKEN_BUILD }}
|
TOKEN: ${{ secrets.BUILD_TOKEN }}
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
# Sekarang $TOKEN sudah bisa dipakai di Bash
|
# Sekarang $TOKEN sudah bisa dipakai di Bash
|
||||||
echo "--- Diagnostic ---"
|
echo "--- Diagnostic ---"
|
||||||
|
|||||||
Reference in New Issue
Block a user