Skip to content

Commit

Permalink
aws attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
DetachHead committed Mar 17, 2024
1 parent 179e6e7 commit e31f170
Show file tree
Hide file tree
Showing 8 changed files with 6,460 additions and 30 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/main_pyright-playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,18 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: "Production"
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}

# environment:
# name: "Production"
# url: TODO
env:
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- name: Download artifact from build job
uses: actions/download-artifact@v3
with:
name: node-app

- name: "Deploy to Azure Web App"
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
with:
app-name: "pyright-playground"
slot-name: "Production"
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_3DB26F89A94D4390A8C575D32E77F5C5 }}
package: .
- run: npm ci
- run: ./.node_modules/.bin/serverless deploy
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules
server/.env
server/dist
server/pyright_local
.serverless
Loading

0 comments on commit e31f170

Please sign in to comment.