Skip to content

Bump actions/checkout from 4.1.3 to 4.1.7 in the ci-dependencies group across 1 directory #60

Bump actions/checkout from 4.1.3 to 4.1.7 in the ci-dependencies group across 1 directory

Bump actions/checkout from 4.1.3 to 4.1.7 in the ci-dependencies group across 1 directory #60

Workflow file for this run

name: "Deploy to GitHub Pages"
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
schedule:
- cron: '0 0 * * */7'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout repository"
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: "Install dependencies"
run: python -m pip install -r scripts/requirements.txt
- name: "Fetch the list of repos"
run: python scripts/get_wiki_repos.py
- name: "Generate site"
run: npx @11ty/eleventy --input=site --output=_site
- name: "Upload artifact"
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
with:
path: ./_site
deploy:
if: ${{ github.ref == 'refs/heads/main' }}
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
contents: read
pages: write
id-token: write
steps:
- name: "Deploy to GitHub Pages"
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5