Skip to content

Commit

Permalink
Merge pull request #51 from CMU-313/frontend-deployment
Browse files Browse the repository at this point in the history
Removing npm install and only installing frontend after setup
  • Loading branch information
etong11 authored Oct 22, 2024
2 parents 2d42ac6 + b337387 commit 4e88c8f
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/azure-deploy-f24.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,6 @@ jobs:
with:
node-version: '20.17.0'

- name: Clone frontend repo as a subdirectory
run: |
git clone https://github.com/CMU-313/nodebb-frontend-f24-team-software-stars.git
- name: Install NodeBB dependencies
run: |
npm install
- name: Install frontend repo as a dependency
run: |
npm install ./nodebb-frontend-f24-team-software-stars
- name: Set up NodeBB
run: |
./nodebb setup '{"url":"https://nodebb-software-stars.azurewebsites.net:443",
Expand All @@ -55,6 +43,14 @@ jobs:
"redis:host": "${{ secrets.REDIS_HOST }}",
"redis:port": "6379",
"redis:password": "${{ secrets.REDIS_PASSWORD }}" }'
- name: Clone frontend repo as a subdirectory
run: |
git clone https://github.com/CMU-313/nodebb-frontend-f24-team-software-stars.git
- name: Install frontend repo as a dependency
run: |
npm install ./nodebb-frontend-f24-team-software-stars
- name: 'Deploy to Azure Web App'
id: deploy-to-webapp
Expand Down

0 comments on commit 4e88c8f

Please sign in to comment.