Skip to content

Commit

Permalink
Fix new docs on master (#1173)
Browse files Browse the repository at this point in the history
* Setup SFTP to replace GitHub pages for non-master branches

* Add replacement docs builder

* Update docs template to show last-updated at date

* Update CI to use port 266, fix building docs on master

* Add recursive star for sftp

* trying quotes

* Use relative dir

* Testing lftp for easier control over moving big directories with sftp

* Supplying github workspace into local folder name for lftp command

* Trying with sshpass and sftp commands

* Fixing sshpass escape slash

* Disable StrictHostKeyChecking in sftp

* Finish up sftp/lftp docs

* Remove uses clause

* Fix docs from master
  • Loading branch information
cbrxyz authored Apr 1, 2024
1 parent 342d08a commit 32e2b76
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:

deploy-docs:
name: Deploy docs from master
runs-on: ubuntu-20.04
runs-on: self-hosted
needs:
- super-ci
if: github.ref == 'refs/heads/master'
Expand All @@ -118,11 +118,6 @@ jobs:
name: docs-ci-html-${{ github.sha }}
path: ${{ github.workspace }}/build/docs

# We need to install rsync for GitHub Pages deploy action
- name: Install rsync
run: |
sudo apt-get update && sudo apt-get upgrade && sudo apt-get install -y rsync
# Publish the artifact to the GitHub Pages branch
- name: Push docs to mil.ufl.edu
run: |
Expand Down

0 comments on commit 32e2b76

Please sign in to comment.