Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
abertschi committed May 11, 2023
1 parent c959da4 commit 1d93996
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,38 +28,33 @@ jobs:
CUSTOM_DOMAIN: strucenglib.ethz.ch
REQUIREMENTS: .github/requirements.txt

- name: check
- name: fix-permissions
run: |
ls -al
sudo chmod 777 -R ./site
cd site
ls -al
cd ../
- name: git-compas
- name: add-compas-doc
run: |
git clone https://github.com/StrucEng-Library-kfmresearch/strucenglib-website.git compas
cd compas
git checkout docs/compas
ls -al
cd ../
mkdir -p site/docs
cp -rf compas/docs site/docs/
cp -rf compas/docs/* site/docs/
ls -al site/docs
- name: git-compas-fea
- name: add-compas_fea-doc
run: |
git clone https://github.com/StrucEng-Library-kfmresearch/strucenglib-website.git compas_fea
cd compas_fea
git switch docs/compas_fea
ls -al
cd ../
mkdir -p site/docs
cp -rf compas_fea/docs site/docs/
cp -rf compas_fea/docs/* site/docs/
ls -al site/docs
- name: Deploy
- name: deploy-mkdocs-with-compas-doc
uses: peaceiris/actions-gh-pages@v3
# If you're changing the branch from main,
# also change the `master` in `refs/heads/master`
Expand Down

0 comments on commit 1d93996

Please sign in to comment.