Skip to content

Commit

Permalink
feat: ✨ setup github actions for docs deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Evert De Spiegeleer committed Jan 20, 2024
1 parent 7e66f7e commit ea0732f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,30 @@ jobs:
run: |
git commit -am "chore(version): 📦 prerelease version bump to ${{ steps.version.outputs.version }}"
git push
docs:
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Build docs
run: echo "nothing to do here atm :)"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
11 changes: 11 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>zhttp</title>
</head>
<body>
Hello World!
</body>
</html>

0 comments on commit ea0732f

Please sign in to comment.