Skip to content

Conda remove instructions from Nightly section (#1817) #594

Conda remove instructions from Nightly section (#1817)

Conda remove instructions from Nightly section (#1817) #594

Workflow file for this run

name: Build
on:
push:
branches:
- site
workflow_dispatch:
jobs:
tests:
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
secrets: inherit
with:
runner: linux.12xlarge
repository: pytorch/pytorch.github.io
docker-image: cimg/ruby:2.7-node
secrets-env: PYTORCHBOT_TOKEN
script: |
git config --global --add safe.directory /__w/pytorch.github.io/pytorch.github.io
set -euxo pipefail
## Bundle Install
cd
mkdir .bundle
bundle config path '~/vendor/bundle'
git clone https://github.com/pytorch/pytorch.github.io.git
cd pytorch.github.io
bundle install
## Yarn Install
yarn install --cache-folder ~/.cache/yarn
## Notedown Install
sudo apt update && sudo apt install python3-pip && sudo -H pip3 install pyrsistent==0.16 notedown pyyaml -Iv nbformat==5.7
## Configure Bot
git config --global user.email "[email protected]"
git config --global user.name "Website Deployment Script"
## Build Jekyll site and push to master
./scripts/deploy-site.sh build