# Missing github\_token

**URL:** <https://travis-ci.community/t/missing-github-token/6005>\
**Category:** Travis CI Discussions & Feedback\
**Created:** [November 17, 2019, 10:00pm UTC](https://travis-ci.community/t/missing-github-token/6005 "2019-11-17T22:00:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tgl](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/tgl/32/3169_2.png) [@tgl](https://travis-ci.community/u/tgl)\
**Post date:** [November 17, 2019, 10:00pm UTC](https://travis-ci.community/t/missing-github-token/6005/1 "2019-11-17T22:00:46Z")

</div>

When i try to mkae this deployment I am getting the error above, I do not know what could be wrong, I added the GITHUB\_TOKEN in the dashboard as an environment variable

I can see it exported here:

```
Setting environment variables from repository settings
$ export GITHUB_TOKEN=[secure]

```

Here is my deploy configuration:

````
```
{
  "os": [
    "linux"
  ],
  "deploy": [
    {
      "on": {
        "branch": [
          "master"
        ]
      },
      "token": "$GITHUB_TOKEN",
      "verbose": true,
      "provider": "pages",
      "keep_history": true,
      "skip_cleanup": true,
      "target_branch": "master"
    }
  ],
```

````

Using services docker, other than that nothing special

```auto
services:
  - docker

before_install:
  - mkdir -p iso configs/network configs/openvpn configs/startup
  - chmod 0757 iso
  - rm -rf src/configs
  - cp -rap configs src/configs
  - docker build -t bootr:latest src

script:
  docker run --name bootr -v $(pwd)/iso:/build/iso -ti bootr:latest

deploy:
  provider: pages
  skip_cleanup: true
  target_branch: master
  github_token: $GITHUB_TOKEN
  keep_history: true
  verbose: true
  on:
    branch: master

```

---

<div class="post-metadata">

**Author:** ![tgl](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/tgl/32/3169_2.png) [@tgl](https://travis-ci.community/u/tgl)\
**Post date:** [November 18, 2019, 6:36am UTC](https://travis-ci.community/t/missing-github-token/6005/2 "2019-11-18T06:36:23Z")

</div>

fixed myself by adding

edge: true
