-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nick Ardecky
committed
Aug 28, 2020
1 parent
e3744d7
commit 8a9a94c
Showing
3 changed files
with
5 additions
and
5 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 |
---|---|---|
|
@@ -29,7 +29,7 @@ jobs: | |
- name: Create Branch for tag | ||
uses: peterjgrainger/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.ZINGSOFT_REPOS_PERSONAL_ACCESS_TOKEN }} | ||
with: | ||
branch: 'canary/${{ github.event.client_payload.version }}' | ||
|
||
|
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
uses: peter-evans/repository-dispatch@v1 | ||
with: | ||
# personal access tokens are under [email protected] github account | ||
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
token: ${{ secrets.ZINGSOFT_REPOS_PERSONAL_ACCESS_TOKEN }} | ||
repository: zingsoftinc/zingchart-com | ||
event-type: new-zg-version | ||
client-payload: '{"ref": "${{ github.ref }}", "version": "${GITHUB_REF/refs\/tags\//}"}' | ||
|
@@ -31,7 +31,7 @@ jobs: | |
# uses: peter-evans/repository-dispatch@v1 | ||
# with: | ||
# # personal access tokens are under [email protected] github account | ||
# token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
# token: ${{ secrets.ZINGSOFT_REPOS_PERSONAL_ACCESS_TOKEN }} | ||
# repository: zingsoftinc/zingchart-cdn | ||
# event-type: new-zg-version | ||
# client-payload: '{"ref": "${{ github.ref }}", "version": "${GITHUB_REF/refs\/tags\//}"}' |
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 |
---|---|---|
|
@@ -45,7 +45,7 @@ jobs: | |
git config --local user.email "[email protected]" | ||
git config --local user.name "ZingSoft Admin" | ||
npm version ${ZC_VERSION} | ||
git push https://zingsoftadmin:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/zingchart/zingchart.git HEAD:master --force | ||
git push https://zingsoftadmin:${{ secrets.ZINGSOFT_REPOS_PERSONAL_ACCESS_TOKEN }}@github.com/zingchart/zingchart.git HEAD:master --force | ||
- name: Update Package.json Version Canary | ||
if: github.event.release.prerelease == true | ||
# https://docs.github.com/en/developers/webhooks-and-events/webhook-events-and-payloads#create | ||
|
@@ -54,7 +54,7 @@ jobs: | |
git config --local user.email "[email protected]" | ||
git config --local user.name "ZingSoft Admin" | ||
npm version ${ZC_VERSION} | ||
git push https://zingsoftadmin:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/zingchart/zingchart.git | ||
git push https://zingsoftadmin:${{ secrets.ZINGSOFT_REPOS_PERSONAL_ACCESS_TOKEN }}@github.com/zingchart/zingchart.git | ||
- name: Publish Canary TagTo NPM | ||
if: github.event.release.prerelease == true | ||
run: npm publish --tag canary --access public | ||
|