-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
if this works none of these steps are needed anymore
- Loading branch information
1 parent
cd76d01
commit f64d39e
Showing
3 changed files
with
0 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters