Skip to content

Commit 3caad95

Browse files
committed
Add PAT token environment variable to documentation update workflow
- Include PAT_TOKEN as an environment variable in the GitHub Actions workflow - Prepare for potential authentication or access requirements in the documentation update process
1 parent aeed6e5 commit 3caad95

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/update_docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
with:
1919
python-version: '3.8'
2020

21+
- env:
22+
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
2123
# Install Pandoc using apt-get
2224
- run: |
2325
sudo apt-get update
@@ -47,4 +49,4 @@ jobs:
4749
git config user.name "Chivier"
4850
git config user.email "[email protected]"
4951
git commit -m 'update docs'
50-
git push -u origin main
52+
git push https://[email protected]/openmlsys/html-en.git HEAD:main

0 commit comments

Comments
 (0)