Skip to content

Commit

Permalink
deploy yml change
Browse files Browse the repository at this point in the history
  • Loading branch information
Stan370 committed Jul 18, 2024
1 parent 73f1f3a commit be73aa2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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
kubectl set image deployment/flask-app flask-app=username/repository:latest

0 comments on commit be73aa2

Please sign in to comment.