Skip to content

Commit

Permalink
Update main_geotrackr-docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-63 authored Sep 12, 2024
1 parent 8fb3152 commit 52008c4
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/main_geotrackr-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,20 @@ jobs:
with:
node-version: '20.x'

- name: npm install
- name: Install dependencies
run: |
cd docs
npm install
- name: Build the project
run: |
cd docs
npm run build
- name: Zip artifact for deployment
run: |
cd docs
zip -r ../release.zip . -x "node_modules/*"
zip -r ../release.zip dist
- name: Upload artifact for deployment job
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -61,4 +66,4 @@ jobs:
with:
app-name: 'geotrackr-docs'
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE_DOCS }}
package: .
package: dist

0 comments on commit 52008c4

Please sign in to comment.