diff --git a/docs/pages/build-platforms/github-actions.md b/docs/pages/build-platforms/github-actions.md index 60ae9f366..8221a040b 100644 --- a/docs/pages/build-platforms/github-actions.md +++ b/docs/pages/build-platforms/github-actions.md @@ -23,16 +23,6 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Prepare repository - env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} - run: | - git checkout ${GITHUB_REF:11} -- - git remote rm origin - git remote add origin "https://x-access-token:$GH_TOKEN@github.com//.git" - git fetch origin --tags - git branch --set-upstream-to origin/${GITHUB_REF:11} ${GITHUB_REF:11} - - name: Use Node.js 12.x uses: actions/setup-node@v1 with: diff --git a/docs/pages/build-platforms/jenkins.md b/docs/pages/build-platforms/jenkins.md index 40ac2c6c6..95a19d7d5 100644 --- a/docs/pages/build-platforms/jenkins.md +++ b/docs/pages/build-platforms/jenkins.md @@ -32,16 +32,6 @@ pipeline { } } } - stage('Auth') { - steps { - sh ''' - echo "https://${GH_USER}:${GH_TOKEN}@github.com" >> /tmp/gitcredfile - git config --global user.name "Andrew Lisowski" - git config --global user.email "lisowski54@gmail.com" - git config --global credential.helper "store --file=/tmp/gitcredfile" - ''' - } - } stage('Install') { steps { sh 'yarn install --frozen-lockfile' diff --git a/docs/pages/build-platforms/travis.md b/docs/pages/build-platforms/travis.md index 727c4a58d..a691f776a 100644 --- a/docs/pages/build-platforms/travis.md +++ b/docs/pages/build-platforms/travis.md @@ -20,14 +20,6 @@ script: - yarn test - yarn build -before_deploy: - - git config --local user.name "${GIT_NAME}" - - git config --local user.email "${GIT_EMAIL}" - - git remote rm origin - - git remote add origin https://${GH_TOKEN}@github.com/hipstersmoothie/my-test-project - - git fetch origin --tags - - git checkout master - - git branch --set-upstream-to origin/master master deploy: skip_cleanup: true provider: script