Compare commits

...

1 Commits

Author SHA1 Message Date
Greg Bergé 4b532776fa Use private fontawesome-pro mirror 2024-12-20 10:53:27 +01:00
6 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ on:
branches:
- main
env:
NPMRC_FONT_AWESOME_TOKEN: ${{ secrets.NPMRC_FONT_AWESOME_TOKEN }}
NPM_TOKEN_READONLY: ${{ secrets.NPM_TOKEN_READONLY }}
jobs:
deploy:
name: Deploy to Cloudflare Pages
@@ -191,7 +191,7 @@ jobs:
runs-on: ubuntu-latest
name: Build (Open Source)
env:
NPMRC_FONT_AWESOME_TOKEN: ''
NPM_TOKEN_READONLY: ''
steps:
- name: Checkout
uses: actions/checkout@v4
+1 -1
View File
@@ -34,7 +34,7 @@ jobs:
# Using a PAT instead of GITHUB_TOKEN because we need to run workflows when releases are created
# https://github.com/orgs/community/discussions/26875#discussioncomment-3253761
GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN_READONLY: ${{ secrets.NPM_TOKEN_READONLY }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
release-preview:
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1,2 +1,2 @@
[install.scopes]
"awesome.me" = { token = "$NPMRC_FONT_AWESOME_TOKEN", url = "https://npm.fontawesome.com/" }
"gitbook" = { token = "$NPM_TOKEN_READONLY", url = "https://registry.npmjs.org" }
+1 -1
View File
@@ -11,7 +11,7 @@ export function getKitPath() {
try {
source = path.resolve(
path.dirname(
url.fileURLToPath(import.meta.resolve('@awesome.me/kit-a463935e93/package.json')),
url.fileURLToPath(import.meta.resolve('@gitbook/fontawesome-pro/package.json')),
),
'icons',
);
+1 -1
View File
@@ -22,7 +22,7 @@
"@fortawesome/fontawesome-free": "^6.6.0"
},
"optionalDependencies": {
"@awesome.me/kit-a463935e93": "1.0.8"
"@gitbook/fontawesome-pro": "1.0.8"
},
"devDependencies": {
"typescript": "^5.5.3"