Skip to content

Commit

Permalink
Front-End: Github Actions Test
Browse files Browse the repository at this point in the history
  • Loading branch information
king112ola committed Aug 18, 2024
1 parent 5f693fd commit da8ae11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/quic_repo_frontend_build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
touch .env
echo "${{ secrets.FRONT_END_ENV }}" > .env
- name: Install Netlify
run: npm install netlify-cli --location=global

- name: Install Dependencies
run: npm install

Expand All @@ -57,8 +60,8 @@ jobs:
- name: Deploy to Netlify
id: netlify_deploy
run: |
npm exec netlify-cli deploy \
netlify deploy \
--dir dist \
--site ${{ secrets.NETLIFY_SITE_ID }} \
--auth ${{ secrets.NETLIFY_API_TOKEN }} \
--prod
--prod
2 changes: 1 addition & 1 deletion Front-End/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build+deploy": "vite build && copyfiles _redirects dist && npx netlify-cli deploy --site quic.hk --prod --dir dist",
"preview": "vite preview",
"comepileSass": "sass src/assets/scss/style.scss style.css",
"github-action-test": ""
"github-action-test": "go"
},
"dependencies": {
"@emotion/react": "^11.10.5",
Expand Down

0 comments on commit da8ae11

Please sign in to comment.