From 613ff1c8e628ecbad6bb1e12e856db0cc85a1dc4 Mon Sep 17 00:00:00 2001 From: Davide Mandelli Date: Mon, 31 Jan 2022 15:20:18 +0100 Subject: [PATCH] Delete main_fakeflix.yml --- .github/workflows/main_fakeflix.yml | 66 ----------------------------- 1 file changed, 66 deletions(-) delete mode 100644 .github/workflows/main_fakeflix.yml diff --git a/.github/workflows/main_fakeflix.yml b/.github/workflows/main_fakeflix.yml deleted file mode 100644 index 2553f8f6..00000000 --- a/.github/workflows/main_fakeflix.yml +++ /dev/null @@ -1,66 +0,0 @@ -# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy -# More GitHub Actions for Azure: https://github.com/Azure/actions - -name: Build and deploy Node.js app to Azure Web App - fakeflix - -on: - push: - branches: - - main - workflow_dispatch: - -jobs: - build: - runs-on: windows-latest - environment: production - - steps: - - uses: actions/checkout@v2 - - - name: Set up Node.js version - uses: actions/setup-node@v1 - with: - node-version: '14.x' - - - name: npm install, build, and test - run: | - npm install - npm run build --if-present - - env: - REACT_APP_API_KEY: ${{ secrets.REACT_APP_API_KEY }} - REACT_APP_FIREBASE_API_KEY: ${{ secrets.REACT_APP_FIREBASE_API_KEY }} - REACT_APP_FIREBASE_AUTH_DOMAIN: ${{ secrets.REACT_APP_FIREBASE_AUTH_DOMAIN }} - REACT_APP_FIREBASE_PROJECT_ID: ${{ secrets.REACT_APP_FIREBASE_PROJECT_ID }} - REACT_APP_FIREBASE_STORAGE_BUCKET: ${{ secrets.REACT_APP_FIREBASE_STORAGE_BUCKET }} - 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 - - deploy: - runs-on: ubuntu-latest - needs: build - environment: - name: 'Production' - url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} - - steps: - - name: Download artifact from build job - uses: actions/download-artifact@v2 - with: - name: node-app - - - name: 'Deploy to Azure Web App' - uses: azure/webapps-deploy@v2 - id: deploy-to-webapp - with: - app-name: 'fakeflix' - slot-name: 'Production' - publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_34DEC5BED88548DD9EEBF63718E17378 }} - package: .