Skip to content

Commit

Permalink
Update deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nck-mlcnv committed Sep 20, 2024
1 parent 8f09bb2 commit b84b534
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ jobs:
java-version: '17'
distribution: 'adopt'
cache: 'maven'
- name: Install lftp
run: |
sudo apt-get update
sudo apt-get install lftp
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -135,14 +139,14 @@ jobs:
destination_dir: ./ontology/

- name: Deploy Ontology to FTP
uses: SamKirkland/[email protected]
with:
server: files.dice-research.org
protocol: ftps
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: ./ontology/
server-dir: vocab/iguana/
run: |
lftp -u ${{ secrets.FTP_USERNAME }},${{ secrets.FTP_PASSWORD }} files.dice-research.org << EOF
set cmd:fail-exit yes
set ftp:ssl-protect-data true
cd /vocab
mirror -R ontology/. iguana/
bye
EOF
deploy_gh_release:
Expand Down

0 comments on commit b84b534

Please sign in to comment.