Automatic update from web-platform-tests Bump actions/checkout from 4 to 7 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v4...v7)
38 lines
861 B
YAML
38 lines
861 B
YAML
name: documentation
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'docs/**'
|
|
- 'resources/**'
|
|
- 'tools/**'
|
|
pull_request:
|
|
paths:
|
|
- 'docs/**'
|
|
- 'resources/**'
|
|
- 'tools/**'
|
|
jobs:
|
|
build-and-publish:
|
|
runs-on: ubuntu-24.04
|
|
if: github.repository == 'web-platform-tests/wpt'
|
|
steps:
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- name: Set up Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '14'
|
|
- name: Set up Virtualenv
|
|
run: pip install virtualenv
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
with:
|
|
fetch-depth: 50
|
|
- name: Run website_build.sh
|
|
run: ./tools/ci/website_build.sh
|
|
env:
|
|
DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
|