Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Stan370 committed Aug 21, 2024
1 parent 7351462 commit c840690
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions .github/workflows/page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches:
- main # default branch
- master
pull_request:
branches:
- main

jobs:
build:
Expand All @@ -26,23 +30,22 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
path: ./public
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: https://stan370.github.io/
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

# Temporarily skip Docker and Kubernetes deployment steps
# TOD: dockerfile
# deploy:
# needs: build
# permissions:
# pages: write
# id-token: write
# environment:
# name: github-pages
# url: https://stan370.github.io/
# runs-on: ubuntu-latest
# steps:
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v2

# docker:
# runs-on: ubuntu-latest
# needs: build
Expand Down

0 comments on commit c840690

Please sign in to comment.