Skip to content

[Symology] Factor out URL/photo line adding. #148

[Symology] Factor out URL/photo line adding.

[Symology] Factor out URL/photo line adding. #148

Workflow file for this run

name: Deploy POD documentation to pages
on:
push:
branches: ["master"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
with:
path: ~/perl5
key: perl-pod
- uses: actions/configure-pages@v2
- name: Install packages
run: bin/cpanm -l ~/perl5 --quiet --notest Pod::ProjectDocs
- name: Generate documentation
run: ~/perl5/bin/pod2projdocs -out _site -lib perllib -title open311-adapter -desc 'An Open311 adapter to receive Open311 reports from FixMyStreet and send them on to non-Open311 services' -nosourcecode
env:
PERL5LIB: /home/runner/perl5/lib/perl5
- uses: actions/upload-pages-artifact@v1
deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1