mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-01-06 06:15:51 +00:00
lets see
This commit is contained in:
5
.github/workflows/cd.yml
vendored
5
.github/workflows/cd.yml
vendored
@@ -10,7 +10,6 @@ concurrency:
|
||||
|
||||
env:
|
||||
PROJECT: ${{ secrets.PROJECT }}
|
||||
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets._GITHUB_AUTH_TOKEN }}"}}'
|
||||
|
||||
jobs:
|
||||
build_service:
|
||||
@@ -49,7 +48,9 @@ jobs:
|
||||
- name: Prepare Composer Auth Secret
|
||||
run: |
|
||||
if [[ -n "${{ secrets._GITHUB_AUTH_TOKEN }}" ]]; then
|
||||
echo '${{ env.COMPOSER_AUTH }}' > composer-auth.json
|
||||
echo '{"github-oauth": {"github.com": "'${{ secrets._GITHUB_AUTH_TOKEN }}'"}}' > composer-auth.json
|
||||
else
|
||||
echo '{}' > composer-auth.json
|
||||
fi
|
||||
|
||||
- name: Build and Release
|
||||
|
||||
Reference in New Issue
Block a user