diff --git a/.github/workflows/page.yml b/.github/workflows/page.yml index de81f05..467d235 100644 --- a/.github/workflows/page.yml +++ b/.github/workflows/page.yml @@ -17,12 +17,15 @@ jobs: - name: Install Dependencies run: npm install + - name: Build run: npm run build + - name: Upload Pages artifact uses: actions/upload-pages-artifact@v2 with: path: ./public + deploy: needs: build permissions: @@ -36,7 +39,8 @@ jobs: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v2 - docker: + + docker: runs-on: ubuntu-latest needs: build steps: @@ -73,4 +77,4 @@ jobs: - name: Deploy to Kubernetes run: | kubectl apply -f deployment.yaml - kubectl set image deployment/flask-app flask-app=username/repository:latest \ No newline at end of file + kubectl set image deployment/flask-app flask-app=username/repository:latest