Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
mattco98 committed Sep 30, 2023
1 parent deae14a commit e537f1c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/javadocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,26 @@ jobs:
- name: Build Javadocs
run: ./gradlew --no-daemon generateDokkaDocs

- name: Print some stuff
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.REMOTE_HOST }}
username: ${{ secrets.ACTIONS_DEPLOYER_USERNAME }}
key: ${{ secrets.ACTIONS_DEPLOYER_SSH_KEY }}
passphrase: ${{ secrets.ACTIONS_DEPLOYER_PASSPHRASE }}
script: |
echo `pwd` | sed 's/./& /g'
ls -la
ls -la ctjs/build/javadocs
- name: Publish Javadocs
uses: appleboy/scp-action@master
with:
host: ${{ secrets.REMOTE_HOST }}
username: ${{ secrets.ACTIONS_DEPLOYER_USERNAME }}
key: ${{ secrets.ACTIONS_DEPLOYER_SSH_KEY }}
passphrase: ${{ secrets.ACTIONS_DEPLOYER_PASSPHRASE }}
source: build/javadocs/
source: ctjs/build/javadocs/
# TODO: Remove "new-" when we transition to 3.0.0
target: /srv/www/static/home/new-javadocs
strip_components: 2
Expand Down

0 comments on commit e537f1c

Please sign in to comment.