mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
wip
This commit is contained in:
parent
4c56a8c462
commit
e1e1bb3e21
@ -83,11 +83,13 @@ jobs:
|
||||
# Deploy stage.
|
||||
# Here we build the package JSON (always) and do the deployments
|
||||
- name: "Package / deploy"
|
||||
if: env(CI_GITHUB_API_KEY) IS present
|
||||
# TRAVIS_PULL_REQUEST_BRANCH:
|
||||
# if the current job is a pull request, the name of the branch from which the PR originated.
|
||||
# if the current job is a push build, this variable is empty ("").
|
||||
if: env(TRAVIS_PULL_REQUEST_BRANCH) = ""
|
||||
stage: deploy
|
||||
script: $TRAVIS_BUILD_DIR/tests/common.sh
|
||||
env: BUILD_TYPE=package
|
||||
# TRAVIS_PULL_REQUEST is set to the pull request number if the current job is a pull request build, or false if it’s not.
|
||||
deploy:
|
||||
# Create Github release, upload artifacts
|
||||
- provider: releases
|
||||
|
@ -133,8 +133,9 @@ fi
|
||||
curl_gh_token_arg=(-H "Authorization: token $CI_GITHUB_API_KEY")
|
||||
|
||||
# test
|
||||
echo "key was '$CI_GITHUB_API_KEY'"
|
||||
CI_GITHUB_API_KEY="vt6StBC+ghqnh8YrreNo3wAzGGddJ2S4YpVZkz4S84xLEGWkIEghQhTrjlhzjBsrnHfLNko4tz9EsNx0yQ8yBlPOdReETGAkqnAU7PSPFss0qGcCRUXYtozNjbFQq6TWIxECK4xq40R9tE6NyeOpm9AYJtwF/v18u2T+T9qSgGQ="
|
||||
#echo "key was '$CI_GITHUB_API_KEY'"
|
||||
# this key (below) is working, the overwritten key is not empty
|
||||
#CI_GITHUB_API_KEY="vt6StBC+ghqnh8YrreNo3wAzGGddJ2S4YpVZkz4S84xLEGWkIEghQhTrjlhzjBsrnHfLNko4tz9EsNx0yQ8yBlPOdReETGAkqnAU7PSPFss0qGcCRUXYtozNjbFQq6TWIxECK4xq40R9tE6NyeOpm9AYJtwF/v18u2T+T9qSgGQ="
|
||||
|
||||
# Get previous release name
|
||||
echo "======== curl dumped header"
|
||||
|
Loading…
x
Reference in New Issue
Block a user