Skip to content

Commit

Permalink
Merge pull request #386 from NIHGOV/main
Browse files Browse the repository at this point in the history
Rebase
  • Loading branch information
petersonjdNIH authored Dec 2, 2023
2 parents 4c99d13 + 7516625 commit 46cd575
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions .github/workflows/main_nihgithubportal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,41 +30,7 @@ jobs:
npm run build
cd ..
npm run test --if-present
- name: get orgs from graphql
run: |
gh api graphql -f ent=nih -f query='query($ent: String!) {
enterprise(slug: $ent) {
organizations(first: 100) {
nodes {
description
login
databaseId
id
name
}
}
}
}' >> raw.json
cat raw.json
env:
GITHUB_TOKEN: ${{ secrets.ENT_READ_PAT}}

- name: run powershell script to create env orgs json
run: |
./.github/scripts/Create-EnvOrgs.ps1
cat orgs.json
ls
shell: pwsh

- name: check file
run: |
cat orgs.json
ls -lah
rm env-orgs.json
cat orgs.json >> env-orgs.json
cat env-orgs.json
- name: zip application folders
run: |
echo $PWD
Expand Down

0 comments on commit 46cd575

Please sign in to comment.