Skip to content

Commit dbd9997

Browse files
authored
Update workflow for torchforge repository (meta-pytorch#473)
1 parent 70c4a38 commit dbd9997

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
6666
# Verify dependencies can be imported before building docs
6767
echo "Verifying dependencies..."
68-
python -c "import forge; print('✓ forge imported successfully')"
68+
python -c "import forge; print('✓ torchforge imported successfully')"
6969
python -c "import monarch; print('✓ monarch imported successfully')"
7070
7171
# Build docs with -W (warnings as errors) and --keep-going to see all issues
@@ -112,15 +112,15 @@ jobs:
112112
s3-bucket: doc-previews
113113
if-no-files-found: error
114114
path: docs
115-
s3-prefix: meta-pytorch/forge/${{ github.event.pull_request.number }}
115+
s3-prefix: meta-pytorch/torchforge/${{ github.event.pull_request.number }}
116116

117117
upload:
118118
runs-on: ubuntu-latest
119119
permissions:
120120
# Grant write permission here so that the doc can be pushed to gh-pages branch
121121
contents: write
122122
needs: build-docs
123-
if: github.repository == 'meta-pytorch/forge' && github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch')
123+
if: github.repository == 'meta-pytorch/torchforge' && github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch')
124124
steps:
125125
- name: Checkout
126126
uses: actions/checkout@v4

0 commit comments

Comments
 (0)