Skip to content

Commit

Permalink
Merge pull request #207 from aziontech/fix/templates/cosmic-templates
Browse files Browse the repository at this point in the history
fix(templates/cosmic): Update workflows and add missing dependencies
  • Loading branch information
pablodiehl authored Jan 10, 2025
2 parents db7a255 + ba08250 commit 318e732
Show file tree
Hide file tree
Showing 9 changed files with 969 additions and 843 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,20 @@ jobs:
with:
node-version: 18

- name: Install NPM dependencies
run: npm i
- name: Install dependencies
run: pnpm i

- name: Install Azion CLI
run: |
curl -o azionlinux https://downloads.azion.com/linux/x86_64/azion
sudo mv azionlinux /usr/bin/azion
sudo chmod u+x /usr/bin/azion
- name: Create .env file
run: |
echo "PUBLIC_COSMIC_BUCKET_SLUG=${{ secrets.PUBLIC_COSMIC_BUCKET_SLUG }}" >> .env
echo "PUBLIC_COSMIC_READ_KEY=${{ secrets.PUBLIC_COSMIC_READ_KEY }}" >> .env
- name: Azion Action Deploy
run: |
azion -t ${{ secrets.AZION_PERSONAL_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions templates/astro/cosmic-simple-astro-blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"@astrojs/tailwind": "^5.0.0",
"@astrojs/ts-plugin": "^1.0.4",
"@cosmicjs/sdk": "^1.0.5",
"azion": "latest",
"astro": "^3.0.8",
"date-fns": "^2.29.2",
"react-markdown": "^8.0.3",
Expand Down
Loading

0 comments on commit 318e732

Please sign in to comment.