Skip to content

Commit

Permalink
if this works none of these steps are needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
hipstersmoothie committed Feb 22, 2020
1 parent cd76d01 commit f64d39e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 28 deletions.
10 changes: 0 additions & 10 deletions docs/pages/build-platforms/github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:[email protected]/<owner>/<repo>.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:
Expand Down
10 changes: 0 additions & 10 deletions docs/pages/build-platforms/jenkins.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]"
git config --global credential.helper "store --file=/tmp/gitcredfile"
'''
}
}
stage('Install') {
steps {
sh 'yarn install --frozen-lockfile'
Expand Down
8 changes: 0 additions & 8 deletions docs/pages/build-platforms/travis.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f64d39e

Please sign in to comment.