Compare commits
1 Commits
v0.3.25020
...
v0.3.25020
| Author | SHA1 | Date | |
|---|---|---|---|
| 9c6db02e57 |
@@ -34,6 +34,7 @@ jobs:
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
- name: Deploy to production server
|
||||
run: |
|
||||
echo "${{ github.ref_name }} - ${{ github.run_number }}"
|
||||
TOKEN=$(curl --silent --location 'https://auth.makecodes.dev/auth' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data '{
|
||||
@@ -50,16 +51,6 @@ jobs:
|
||||
"pipeline": "${{ github.run_number }}",
|
||||
"repository": "mines/backend"
|
||||
}'
|
||||
# curl --location --silent 'https://deployer.makecodes.dev/deploy' \
|
||||
# --header 'Content-Type: application/json' \
|
||||
# --header "Authorization: Bearer $TOKEN" \
|
||||
# --data '{
|
||||
# "image": "docker.nexus.makecodes.dev/makecodes/nfe-vision",
|
||||
# "service": "nfe-vision_worker",
|
||||
# "version": "${{ github.ref_name }}",
|
||||
# "pipeline": "${{ github.run_number }}",
|
||||
# "repository": "makecodes/nfe-vision"
|
||||
# }'
|
||||
env:
|
||||
USERNAME: ${{ secrets.SERVER_AUTH_USERNAME }}
|
||||
PASSWORD: ${{ secrets.SERVER_AUTH_PASSWORD }}
|
||||
|
||||
Reference in New Issue
Block a user