Skip to content

Commit

Permalink
Fix publish flow and remove push flow
Browse files Browse the repository at this point in the history
  • Loading branch information
rotemzif1 committed Nov 26, 2023
1 parent 76486b5 commit e593eb8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
1 change: 0 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ jobs:
with :
github-token : ${{ secrets.DISPATCH_WORKFLOWS_TOKEN }}
script : |
const {repo, sha} = process.env;
const fe_react_version= process.env.PR_VERSION;
const owner = context.payload.repository.organization
const oauthServiceRepo = 'oauth-service'
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,3 @@ jobs:
- run: make install
- run: make build
- run: yarn test
- name: "Trigger Oauth Service Pipeline Workflow"
uses: actions/github-script@v7
with:
github-token: ${{ secrets.DISPATCH_WORKFLOWS_TOKEN }}
script: |
const fe_react_version= '6.0.4'
const owner = context.payload.repository.organization
const oauthServiceRepo = 'oauth-service'
const workflow_id = 'update-react-dependency.yaml'
const data = await github.rest.actions.createWorkflowDispatch({
owner,
repo:oauthServiceRepo,
workflow_id,
ref: 'master',
inputs: {
fe_react_version,
}
});

0 comments on commit e593eb8

Please sign in to comment.