Skip to content

Commit

Permalink
attempting to update workflow by pushing zip file to azure instead of…
Browse files Browse the repository at this point in the history
… unzipped file
  • Loading branch information
siddheshraze committed Feb 23, 2024
1 parent 2a2abba commit acd27fd
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 11 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/new-file-upload-system_forestgeo-livesite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ jobs:
echo AZURE_STORAGE_SAS_CONNECTION_STRING=${{ secrets.AZURE_STORAGE_SAS_CONNECTION_STRING }} >> frontend/.env
echo AZURE_SQL_SCHEMA=${{ secrets.AZURE_SQL_SCHEMA }} >> frontend/.env
echo AZURE_STORAGE_CONNECTION_STRING=${{ secrets.AZURE_STORAGE_CONNECTION_STRING }} >> frontend/.env
- name: Cache node modules
uses: actions/cache@v2
with:
path: frontend/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: npm install, build, and test
run: |
Expand Down Expand Up @@ -66,14 +74,11 @@ jobs:
with:
name: node-app

- name: Unzip artifact for deployment
run: unzip release.zip

- name: 'Deploy to Azure Web App'
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
with:
app-name: 'forestgeo-livesite'
slot-name: 'development'
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
package: .
package: ./release.zip
1 change: 0 additions & 1 deletion frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ yarn-error.log*

# typescript
*.tsbuildinfo
next-env.d.ts
.idea/*
/.swc/
/public/
5 changes: 5 additions & 0 deletions frontend/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
6 changes: 3 additions & 3 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"sharp": "latest",
"tailwind-variants": "latest",
"tailwindcss": "latest",
"ts-node": "latest",
"typescript": "latest"
"ts-node": "latest"
},
"devDependencies": {
"@mui/joy": "latest",
Expand All @@ -69,7 +68,8 @@
"file-saver": "latest",
"idb": "latest",
"mysql2": "latest",
"storybook": "latest"
"storybook": "latest",
"typescript": "^5.3.3"
},
"eslintConfig": {
"extends": [
Expand Down

0 comments on commit acd27fd

Please sign in to comment.