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/butter): Update workflow and dependencies #208

Merged
merged 5 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,18 @@ jobs:
node-version: 18

- name: Install dependencies
run: yarn
run: npm 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 "NG_APP_ANGULAR_BUTTER_CMS_API_KEY=${{ secrets.NG_APP_ANGULAR_BUTTER_CMS_API_KEY }}" >> .env

- name: Azion Action Deploy
run: |
azion -t ${{ secrets.AZION_PERSONAL_TOKEN }}
Expand Down
58 changes: 58 additions & 0 deletions templates/angular/angular-starter-buttercms/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/angular/angular-starter-buttercms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@angular/platform-browser": "^15.1.2",
"@angular/platform-browser-dynamic": "^15.1.2",
"@angular/router": "^15.1.2",
"azion": "latest",
"buttercms": "^1.2.15",
"dotenv": "^16.0.3",
"rxjs": "~7.8.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,18 @@ jobs:
node-version: 18

- name: Install dependencies
run: yarn
run: npm 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 "BUTTER_CMS_API_KEY=${{ secrets.BUTTER_CMS_API_KEY }}" >> .env

- name: Azion Action Deploy
run: |
azion -t ${{ secrets.AZION_PERSONAL_TOKEN }}
Expand Down
45 changes: 45 additions & 0 deletions templates/gatsby/gatsby-starter-buttercms/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/gatsby/gatsby-starter-buttercms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"lint": "eslint src/**/*.js"
},
"dependencies": {
"azion": "latest",
"bootstrap": "^5.2.3",
"buttercms": "^1.2.15",
"gatsby": "^5.7.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,18 @@ jobs:
node-version: 18

- name: Install dependencies
run: yarn
run: npm 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 "NUXT_ENV_BUTTER_API_TOKEN=${{ secrets.NUXT_ENV_BUTTER_API_TOKEN }}" >> .env

- name: Azion Action Deploy
run: |
azion -t ${{ secrets.AZION_PERSONAL_TOKEN }}
Expand Down
54 changes: 46 additions & 8 deletions templates/nuxt/nuxt-starter-buttercms/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/nuxt-starter-buttercms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"nuxt": "^3"
},
"dependencies": {
"azion": "latest",
"buttercms": "^1.2.15",
"tiny-slider": "^2.9.4",
"vue": "^3.2.47"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ jobs:
sudo mv azionlinux /usr/bin/azion
sudo chmod u+x /usr/bin/azion

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

- name: Azion Action Deploy
run: |
azion -t ${{ secrets.AZION_PERSONAL_TOKEN }}
Expand Down
Loading
Loading