std-internal-docs/.github/workflows/build.yml
2025-07-27 16:40:29 +02:00

27 lines
630 B
YAML

name: Build
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Create root directory"
run: mkdir ./www-root
- name: Run the build
run: ./build.sh
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: www-root
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