Skip to content

Migrate repository from jordikroon to php organization #5

Migrate repository from jordikroon to php organization

Migrate repository from jordikroon to php organization #5

Workflow file for this run

name: "Docs"
on:
push:
branches:
- "gh-pages"
pull_request:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
name: "Build"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v6"
- uses: "actions/setup-node@v5"
with:
node-version: "24"
cache: "npm"
cache-dependency-path: "package-lock.json"
- name: "Install dependencies"
run: "npm ci"
- name: "Build"
run: "npm run build"
- name: "Upload pages artifact"
if: github.ref == 'refs/heads/gh-pages'
uses: "actions/upload-pages-artifact@v3"
with:
path: "build"
deploy:
name: "Deploy"
runs-on: "ubuntu-latest"
needs: "build"
if: github.ref == 'refs/heads/gh-pages'
environment:
name: "github-pages"
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: "deployment"
uses: "actions/deploy-pages@v4"