Skip to content

Commit cbc43ff

Browse files
committed
fix: create .env in action
1 parent e15f5c3 commit cbc43ff

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on: [push]
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8-
env:
9-
VITE_APP_AIRTABLE_API_KEY: ${{ secrets.VITE_APP_AIRTABLE_API_KEY }}
10-
VITE_APP_AIRTABLE_BASE: ${{ secrets.VITE_APP_AIRTABLE_BASE }}
118

129
steps:
1310
- name: 🛎️ Checkout code
@@ -23,8 +20,14 @@ jobs:
2320
run: npm ci
2421

2522
- name: 🏗️ Build
26-
run: npm run build
27-
23+
run: |
24+
touch .env
25+
echo VITE_APP_AIRTABLE_API_KEY=$VITE_APP_AIRTABLE_API_KEY >> .env
26+
echo VITE_APP_AIRTABLE_BASE=$secrets.VITE_APP_AIRTABLE_BASE >> .env
27+
npm run build
28+
env:
29+
VITE_APP_AIRTABLE_API_KEY: ${{ secrets.VITE_APP_AIRTABLE_API_KEY }}
30+
VITE_APP_AIRTABLE_BASE: ${{ secrets.VITE_APP_AIRTABLE_BASE }}
2831
- name: 🚀 Deploy to GitHub Pages
2932
if: github.ref == 'refs/heads/main'
3033
uses: peaceiris/actions-gh-pages@v4

components.d.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,16 @@ export {}
77
/* prettier-ignore */
88
declare module 'vue' {
99
export interface GlobalComponents {
10-
BButton: typeof import('bootstrap-vue-next/components/BButton')['BButton']
1110
BCard: typeof import('bootstrap-vue-next/components/BCard')['BCard']
1211
BCardGroup: typeof import('bootstrap-vue-next/components/BCard')['BCardGroup']
1312
BCardText: typeof import('bootstrap-vue-next/components/BCard')['BCardText']
1413
BCardTitle: typeof import('bootstrap-vue-next/components/BCard')['BCardTitle']
1514
BCollapse: typeof import('bootstrap-vue-next/components/BCollapse')['BCollapse']
16-
BDropdownItem: typeof import('bootstrap-vue-next/components/BDropdown')['BDropdownItem']
17-
BFormInput: typeof import('bootstrap-vue-next/components/BFormInput')['BFormInput']
1815
BNavbar: typeof import('bootstrap-vue-next/components/BNavbar')['BNavbar']
1916
BNavbarBrand: typeof import('bootstrap-vue-next/components/BNavbar')['BNavbarBrand']
2017
BNavbarNav: typeof import('bootstrap-vue-next/components/BNavbar')['BNavbarNav']
2118
BNavbarToggle: typeof import('bootstrap-vue-next/components/BNavbar')['BNavbarToggle']
22-
BNavForm: typeof import('bootstrap-vue-next/components/BNav')['BNavForm']
2319
BNavItem: typeof import('bootstrap-vue-next/components/BNav')['BNavItem']
24-
BNavItemDropdown: typeof import('bootstrap-vue-next/components/BNav')['BNavItemDropdown']
2520
FooterBar: typeof import('./src/components/navigation/FooterBar.vue')['default']
2621
HelloWorld: typeof import('./src/components/HelloWorld.vue')['default']
2722
IconCommunity: typeof import('./src/components/icons/IconCommunity.vue')['default']

0 commit comments

Comments
 (0)