Skip to content

Commit 5480919

Browse files
authored
Merge branch 'site' into site
2 parents 69ddd8c + f980526 commit 5480919

File tree

2,327 files changed

+12571
-7499
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,327 files changed

+12571
-7499
lines changed

.circleci/config.yml

Lines changed: 0 additions & 57 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- site
7+
workflow_dispatch:
8+
9+
jobs:
10+
tests:
11+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
12+
secrets: inherit
13+
with:
14+
runner: linux.12xlarge
15+
repository: pytorch/pytorch.github.io
16+
docker-image: cimg/ruby:2.7-node
17+
secrets-env: PYTORCHBOT_TOKEN
18+
script: |
19+
git config --global --add safe.directory /__w/pytorch.github.io/pytorch.github.io
20+
set -euxo pipefail
21+
22+
## Bundle Install
23+
cd
24+
mkdir .bundle
25+
bundle config path '~/vendor/bundle'
26+
git clone https://github.com/pytorch/pytorch.github.io.git
27+
cd pytorch.github.io
28+
bundle install
29+
30+
## Yarn Install
31+
yarn install --cache-folder ~/.cache/yarn
32+
33+
## Notedown Install
34+
sudo apt update && sudo apt install python3-pip && sudo -H pip3 install pyrsistent==0.16 notedown pyyaml -Iv nbformat==5.7
35+
36+
## Configure Bot
37+
git config --global user.email "facebook-circleci-bot@users.noreply.github.com"
38+
git config --global user.name "Website Deployment Script"
39+
40+
## Build Jekyll site and push to master
41+
./scripts/deploy-site.sh build

.github/workflows/update-quick-start-module.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
needs: [linux-nightly-matrix, windows-nightly-matrix, macos-nightly-matrix,
6565
linux-release-matrix, windows-release-matrix, macos-release-matrix]
6666
runs-on: "ubuntu-20.04"
67+
environment: pytorchbot-env
6768
steps:
6869
- name: Checkout builder
6970
uses: actions/checkout@v2

_board_info/advanced-micro-devices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: AMD
33
summary: ''
44
link: https://amd.com
5-
image: /assets/images/announcement-logo-amd.jpg
5+
image: /assets/images/members/amd-logo.svg
66
class: pytorch-resource
77
order: 1
88
featured-home: true

_board_info/amazon-web-services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Amazon
33
summary: ''
44
link: https://aws.amazon.com
5-
image: /assets/images/announcement-logo-aws.jpg
5+
image: /assets/images/members/aws-logo.svg
66
class: pytorch-resource
77
order: 2
88
featured-home: true

_board_info/google-cloud.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Google Cloud
33
summary: ''
44
link: https://cloud.google.com/gcp
5-
image: /assets/images/announcement-logo-google.png
5+
image: /assets/images/members/google-cloud-logo.svg
66
class: pytorch-resource
77
order: 3
88
featured-home: true

_board_info/hugging-face.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Hugging Face
3+
summary: ''
4+
link: https://huggingface.co/
5+
image: /assets/images/members/hf-logo.svg
6+
class: pytorch-resource
7+
order: 4
8+
featured-home: true
9+
---

_board_info/ibm.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: IBM
3+
summary: ''
4+
link: https://www.ibm.com/
5+
image: /assets/images/members/ibm-logo.svg
6+
class: pytorch-resource
7+
order: 5
8+
featured-home: true
9+
---

_board_info/intel.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Intel
3+
summary: ''
4+
link: https://www.intel.com/
5+
image: /assets/images/intel-new-logo.svg
6+
class: pytorch-resource
7+
order: 6
8+
featured-home: true
9+
---

_board_info/meta.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: Meta
33
summary: ''
44
link: https://meta.com
5-
image: /assets/images/announcement-logo-meta.jpg
5+
image: /assets/images/members/meta-logo.svg
66
class: pytorch-resource
7-
order: 4
7+
order: 7
88
featured-home: true
99
---

0 commit comments

Comments
 (0)