Skip to content

Commit

Permalink
Add build CI to customize output path
Browse files Browse the repository at this point in the history
  • Loading branch information
glopesdev committed Jul 29, 2024
1 parent 825b704 commit 541af86
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Builds and publishes the conference to gh-pages branch
name: Build website

on:
push:
branches: [ '*' ]
workflow_dispatch:
permissions:
# Both required by actions/deploy-pages
pages: write
id-token: write

jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4

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

- name: Build
uses: actions/jekyll-build-pages@v1
with:
destination: "./2024"

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "./2024"

deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
id: deployment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

0 comments on commit 541af86

Please sign in to comment.