-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0ccd22a
commit 33503ff
Showing
55 changed files
with
16,323 additions
and
28,138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Deploy sanity studio | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'studio/**/*' | ||
- '!./README.md' | ||
permissions: | ||
id-token: write | ||
packages: write | ||
|
||
jobs: | ||
deploy: | ||
uses: ./.github/workflows/deploy-studio/ | ||
#with: | ||
# environment: 'development' | ||
secrets: | ||
sanity_deploy_token: ${{ secrets.SANITY_DEPLOY_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Build and deploy studio | ||
|
||
on: | ||
workflow_call: | ||
# inputs: | ||
# environment: | ||
# required: true | ||
# type: string | ||
secrets: | ||
sanity_deploy_token: | ||
required: true | ||
|
||
deploy: | ||
name: 'Build and deploy studio' | ||
# environment: ${{ inputs.environment}} | ||
runs-on: ubuntu-latest | ||
env: | ||
SANITY_AUTH_TOKEN: ${{ secrets.SANITY_DEPLOY_TOKEN }} | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v3 | ||
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 10 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'pnpm' | ||
- name: Install dependencies | ||
run: pnpm install | ||
- name: Deploy Studio | ||
run: pnpm run deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
link-workspace-packages = false | ||
shared-workspace-lockfile = false | ||
#link-workspace-packages = false | ||
#shared-workspace-lockfile = false |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,15 +12,13 @@ | |
"prepare": "husky" | ||
}, | ||
"devDependencies": { | ||
"@eslint/eslintrc": "^3", | ||
"@typescript-eslint/eslint-plugin": "^8.19.0", | ||
"eslint": "^9", | ||
"eslint-config-next": "15.1.3", | ||
"eslint-config-prettier": "^9.1.0", | ||
"husky": "^9.1.7", | ||
"lint-staged": "^15.3.0", | ||
"prettier-plugin-tailwindcss": "^0.6.9", | ||
"typescript": "5.7.2" | ||
"typescript": "5.7.2", | ||
"eslint-config-next": "15.1.3", | ||
"eslint-config-prettier": "^10.0.1", | ||
"prettier": "^3.0.2", | ||
"prettier-plugin-tailwindcss": "^0.6.9" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.