Skip to content

Commit

Permalink
fix(nx): remove access token. Sets via env variables (#4042)
Browse files Browse the repository at this point in the history
* fix(nx): remove access token. Sets via env variables

* fix(nx): add nx token for workflows
  • Loading branch information
krisantrobus authored Aug 22, 2024
1 parent 702346a commit 947fc0b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/on_pull_request_package_size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ jobs:
package-size:
name: Check package sizes
runs-on: ubuntu-latest
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/on_pull_request_supabase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_STAGING_DB_PASSWORD }}
SUPABASE_PROJECT_ID: ${{ secrets.SUPABASE_STAGING_PROJECT_ID }}
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

steps:
- name: Checkout Repo
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update_docs_embed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
SUPABASE_URL: ${{ secrets.SUPABASE_PRODUCTION_URL }}
SUPABASE_KEY: ${{ secrets.SUPABASE_PRODUCTION_KEY }}
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_PRODUCTION_DB_PASSWORD }}
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

steps:
- name: Checkout Repo
Expand Down
1 change: 0 additions & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,5 @@
"sharedGlobals": [],
"production": ["default"]
},
"nxCloudAccessToken": "MjY0NzIzMDYtMjFkNi00NDVkLWI2NWQtMjZhMzY2MmY1MjY2fHJlYWQ=",
"parallel": 10
}

0 comments on commit 947fc0b

Please sign in to comment.