Skip to content

Commit

Permalink
Fix the setup node version
Browse files Browse the repository at this point in the history
  • Loading branch information
guy-frontegg committed Oct 18, 2023
1 parent 799280b commit d2a89bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ jobs:
run: yarn publish-oauth
env:
GITHUB_TOKEN: ${{ secrets.OAUTH_SERVICE_TOKEN }}
GH_USERNAME: ${{ secrets.GH_REPOSITORY_ADMIN_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
2 changes: 1 addition & 1 deletion scripts/publish-oauth.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { execSync } = require('child_process');
const { Octokit } = require('@octokit/core');

const GH_TOKEN = process.argv[2] ? process.argv[2] : process.env.OAUTH_SERVICE_TOKEN;
const GH_USER = process.argv[3] ? process.argv[3] : 'x-access-token';
//const GH_USER = process.argv[3] ? process.argv[3] : 'x-access-token';

const githubApi = new Octokit({ auth: GH_TOKEN });
const branchName = 'upgrade-frontegg-react';
Expand Down

0 comments on commit d2a89bd

Please sign in to comment.