Skip to content

Merge pull request #2 from The-Interdependency/codex/rebuild-interdep… #214

Merge pull request #2 from The-Interdependency/codex/rebuild-interdep…

Merge pull request #2 from The-Interdependency/codex/rebuild-interdep… #214

Workflow file for this run

name: Deploy GitHub Pages
on:
push:
branches:
- main # Set a branch to deploy from
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository
uses: actions/checkout@v4
- name: Setup Node.js (optional, remove if not needed)
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './' # Adjust this path if your build output is in a subfolder, e.g., './_site'
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4