Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rkdan authored Sep 5, 2024
1 parent 04eda1c commit 9eaea16
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,22 @@ jobs:

- name: Install MkDocs and dependencies
run: |
pip install mkdocs mkdocs-material mkdocstrings
pip install mkdocs mkdocs-material
- name: Build the MkDocs site
run: mkdocs build

- name: Deploy to Documentation Repo
- name: Clone the Documentation Repo
run: |
git config --global user.name 'github-actions'
git config --global user.email '[email protected]'
git clone --branch gh-pages https://github.com/acceleratescience/documentation.git
git clone --branch gh-pages https://${{ secrets.GITHUB_TOKEN }}@github.com/acceleratescience/documentation.git documentation
- name: Deploy to Documentation Repo
run: |
rsync -av --delete ./site/ documentation/packaging-publishing/
cd documentation
git add .
git commit -m "Deploy packaging-publishing to /packaging-publishing"
git push

0 comments on commit 9eaea16

Please sign in to comment.