documentation.yml (861B)
1 name: documentation 2 on: 3 push: 4 branches: 5 - master 6 paths: 7 - 'docs/**' 8 - 'resources/**' 9 - 'tools/**' 10 pull_request: 11 paths: 12 - 'docs/**' 13 - 'resources/**' 14 - 'tools/**' 15 jobs: 16 build-and-publish: 17 runs-on: ubuntu-24.04 18 if: github.repository == 'web-platform-tests/wpt' 19 steps: 20 - name: Set up Python 21 uses: actions/setup-python@v5 22 with: 23 python-version: '3.12' 24 - name: Set up Node 25 uses: actions/setup-node@v4 26 with: 27 node-version: '14' 28 - name: Set up Virtualenv 29 run: pip install virtualenv 30 - name: Checkout 31 uses: actions/checkout@v4 32 with: 33 fetch-depth: 50 34 - name: Run website_build.sh 35 run: ./tools/ci/website_build.sh 36 env: 37 DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}