Skip to content

Commit 39eae78

Browse files
Revert "Docs workflow update (#238)"
This reverts commit 9d15f89.
1 parent 9d15f89 commit 39eae78

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

.github/workflows/docs.yaml

+3-15
Original file line numberDiff line numberDiff line change
@@ -9,39 +9,27 @@ jobs:
99
deploy:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- if: ${{ github.ref == 'refs/heads/develop' }} # Delay develop to prevent out-of-sync updates
12+
- if: ${{ github.ref == 'refs/heads/develop' }} #we delay develop because when we release a hotgix (tag + develop push), one of these push will be out of sync
1313
uses: jakejarvis/wait-action@master
1414
with:
1515
time: '60s'
16-
1716
- uses: actions/setup-python@v2
1817
with:
1918
python-version: 3.x
20-
2119
- run: pip install git+https://${GH_TOKEN}@github.com/carissalow/mkdocs-material-insiders.git
2220
- run: pip install mike
23-
2421
- uses: actions/checkout@v2
2522
with:
2623
fetch-depth: 0
27-
2824
- run: |
2925
git config user.name github-actions
3026
git config user.email [email protected]
31-
3227
- run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
3328
- run: echo "DOCS_TAG=$(echo $RELEASE_VERSION | sed -n "s/v\([0-9]\+\.[0-9]\+\).*$/\1/p")" >> $GITHUB_ENV
34-
35-
# Deploy and update 'latest' on tagged releases
3629
- if: startsWith(github.ref, 'refs/tags')
37-
run: |
38-
mike deploy --push --update-aliases $DOCS_TAG latest
39-
40-
# Deploy 'dev' and update 'latest' to 'dev' on develop branch updates
30+
run: mike deploy --push --update-aliases $DOCS_TAG latest
4131
- if: ${{ github.ref == 'refs/heads/develop' }}
42-
run: |
43-
mike deploy --push --update-aliases dev
44-
mike alias latest dev --push # Ensure 'latest' always reflects the most recent build
32+
run: mike deploy --push --update-aliases dev
4533

4634
env:
4735
GH_TOKEN: ${{ secrets.GH_TOKEN }}

docs/change-log.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
- Update R version, packages, and package versions in `renv.lock`
99
- Update deprecated GitHub actions
1010
- Update installation documentation for Docker, Mac and Ubuntu
11-
- Fix website issues, including icons, tabs, and URLs.
12-
- Add automatic deployment to update website changes on every push.
11+
- Fix website issues, including icons, tabs, and URLs
1312

1413
## v1.10.0
1514

0 commit comments

Comments
 (0)