Skip to content

feat(github-pages): test the github pages ci #1

feat(github-pages): test the github pages ci

feat(github-pages): test the github pages ci #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- feat/github-pages # Adjust this if your default branch is different
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Docker
uses: docker/setup-buildx-action@v2
- name: Build and Package
run: make package
- name: Upload Artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./app/dist # The path to the generated static site
deploy:
needs: build-and-deploy
runs-on: ubuntu-latest
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}