Skip to content

Commit

Permalink
Publish pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Twinki14 committed Sep 29, 2024
1 parent 15b89bd commit fa1f90a
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup - GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: 6.x
versionSpec: 5.12.0

- name: Setup - Bun
uses: oven-sh/setup-bun@v2
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Simple workflow for deploying static content to GitHub Pages
name: Pages - Deploy

on:
push:
branches: gh-pages

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: false

jobs:
deploy:
environment:
name: Pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: gh-pages

- name: Setup - Pages
uses: actions/configure-pages@v5

- name: Upload - Artifacts
uses: actions/upload-pages-artifact@v3
with:
path: '.'

- name: Deploy - Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit fa1f90a

Please sign in to comment.