Skip to content

Commit

Permalink
Update main_fakeflix.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Th3Wall authored Jan 31, 2022
1 parent e5b5366 commit ba004b5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/main_fakeflix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: windows-latest
environment: production

steps:
Expand All @@ -26,8 +26,7 @@ jobs:
run: |
npm install
npm run build --if-present
npm run test --if-present
env:
REACT_APP_API_KEY: ${{ secrets.REACT_APP_API_KEY }}
REACT_APP_FIREBASE_API_KEY: ${{ secrets.REACT_APP_FIREBASE_API_KEY }}
Expand All @@ -37,12 +36,12 @@ jobs:
REACT_APP_FIREBASE_MESSAGING_SENDER_ID: ${{ secrets.REACT_APP_FIREBASE_MESSAGING_SENDER_ID }}
REACT_APP_FIREBASE_APP_ID: ${{ secrets.REACT_APP_FIREBASE_APP_ID }}
REACT_APP_FIREBASE_MEASUREMEMT_ID: ${{ secrets.REACT_APP_FIREBASE_MEASUREMEMT_ID }}

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v2
with:
name: node-app
path: build
path: .\build

deploy:
runs-on: ubuntu-latest
Expand All @@ -58,8 +57,8 @@ jobs:
name: node-app

- name: 'Deploy to Azure Web App'
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
id: deploy-to-webapp
with:
app-name: 'fakeflix'
slot-name: 'Production'
Expand Down

1 comment on commit ba004b5

@vercel
Copy link

@vercel vercel bot commented on ba004b5 Jan 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.