Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(templates/sanity): Update workflow and dependencies #209

Merged
merged 3 commits into from
Jan 10, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(templates/butter): Update workflow and dependencies for sanity-nux
pablodiehl committed Jan 10, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 0d0a7e9fcc434ece2df453f0b1bac4f268dc3c3d
6 changes: 6 additions & 0 deletions templates/nuxt/sanity-nuxt-clean/.github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -33,6 +33,12 @@ jobs:
sudo mv azionlinux /usr/bin/azion
sudo chmod u+x /usr/bin/azion

- name: Create .env file
run: |
echo "NUXT_SANITY_PROJECT_ID=${{ secrets.NUXT_SANITY_PROJECT_ID }}" >> .env
echo "NUXT_SANITY_DATASET=${{ secrets.NUXT_SANITY_DATASET }}" >> .env
echo "NUXT_SANITY_API_READ_TOKEN=${{ secrets.NUXT_SANITY_API_READ_TOKEN }}" >> .env

- name: Azion Action Deploy
run: |
azion -t ${{ secrets.AZION_PERSONAL_TOKEN }}
28 changes: 28 additions & 0 deletions templates/nuxt/sanity-nuxt-clean/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions templates/nuxt/sanity-nuxt-clean/package.json
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@
"devDependencies": {
"@sanity/types": "^3.50.0",
"@types/node": "^18.17.14",
"azion": "latest",
"nuxt": "^3.12.3",
"postcss": "^8.4.39",
"postcss-nested": "^6.0.1"