Skip to content

Generate web page #23501

Generate web page

Generate web page #23501

Workflow file for this run

name: Generate web page
on:
push:
branches: '*'
schedule:
- cron: '0 */6 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: davorg/perl-perlanet:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create pages
run: |
perlanet > perlanet.log 2>&1
perlanet longrc > long.log 2>&1
perlanet shortrc > short.log 2>&1
- name: Archive perlanet logs
uses: actions/upload-artifact@v4
with:
name: perlanet.log
path: ./perlanet.log
retention-days: 3
- name: Update pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/
deploy:
needs: build
permissions:
pages: write
id-token: write
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@v4