Compare commits
1 Commits
v0.0.0
...
v0.0.25020
| Author | SHA1 | Date | |
|---|---|---|---|
| d3c7470a05 |
@@ -40,16 +40,16 @@ jobs:
|
||||
"email": "'$USERNAME'",
|
||||
"password": "'$PASSWORD'"
|
||||
}' | jq -r '.token')
|
||||
# curl --location --silent 'https://deployer.makecodes.dev/deploy' \
|
||||
# --header 'Content-Type: application/json' \
|
||||
# --header "Authorization: Bearer $TOKEN" \
|
||||
# --data '{
|
||||
# "image": "docker.nexus.makecodes.dev/mines/frontend",
|
||||
# "service": "mines_frontend",
|
||||
# "version": "${{ github.ref_name }}",
|
||||
# "pipeline": "${{ github.run_number }}",
|
||||
# "repository": "mines/frontend"
|
||||
# }'
|
||||
curl --location --silent 'https://deployer.makecodes.dev/deploy' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header "Authorization: Bearer $TOKEN" \
|
||||
--data '{
|
||||
"image": "docker.nexus.makecodes.dev/mines/frontend",
|
||||
"service": "mines_frontend",
|
||||
"version": "${{ github.ref_name }}",
|
||||
"pipeline": "${{ github.run_number }}",
|
||||
"repository": "mines/frontend"
|
||||
}'
|
||||
env:
|
||||
USERNAME: ${{ secrets.SERVER_AUTH_USERNAME }}
|
||||
PASSWORD: ${{ secrets.SERVER_AUTH_PASSWORD }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM node:12 as build-stage
|
||||
FROM node:12 AS build-stage
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user