Compare commits
1 Commits
v0.3.25020
...
v0.3.25020
| Author | SHA1 | Date | |
|---|---|---|---|
| 0397465ec3 |
@@ -34,14 +34,12 @@ 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 '{
|
||||
"email": "'$USERNAME'",
|
||||
"password": "'$PASSWORD'"
|
||||
}' | jq -r '.token')
|
||||
echo $TOKEN
|
||||
curl --location --silent 'https://deployer.makecodes.dev/deploy' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header "Authorization: Bearer $TOKEN" \
|
||||
|
||||
Reference in New Issue
Block a user