Skip to content

Commit e902074

Browse files
committed
Enable deploy step for pages
1 parent 498cea0 commit e902074

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/static.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ jobs:
4949
# Upload entire repository
5050
path: 'build/html'
5151

52-
# deploy:
53-
# runs-on: ubuntu-latest
54-
# needs: build
55-
# environment:
56-
# name: github-pages
57-
# url: ${{ steps.deployment.outputs.page_url }}
58-
# steps:
59-
# - name: Deploy to GitHub Pages
60-
# id: deployment
61-
# if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
62-
# uses: actions/deploy-pages@v4
63-
#
52+
deploy:
53+
runs-on: ubuntu-latest
54+
needs: build
55+
environment:
56+
name: github-pages
57+
url: ${{ steps.deployment.outputs.page_url }}
58+
steps:
59+
- name: Deploy to GitHub Pages
60+
id: deployment
61+
if: github.ref == 'refs/heads/main'
62+
uses: actions/deploy-pages@v4
63+

0 commit comments

Comments
 (0)