Update research-centers.md #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow for building and deploying a Jekyll site to the ISMIR server | |
# Based on https://github.com/actions/starter-workflows/blob/main/pages/jekyll.yml | |
name: Deploy Jekyll site to ISMIR server | |
on: | |
# Runs on pushes targeting the default branch | |
push: | |
branches: [master] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | |
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
# Build job | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3.5' # Not needed with a .ruby-version file | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
cache-version: 0 # Increment this number if you need to re-download cached gems | |
working-directory: 'docs' | |
- name: Build with Jekyll | |
run: bundle exec jekyll build | |
working-directory: 'docs' | |
env: | |
JEKYLL_ENV: production | |
PAGES_REPO_NWO: ismir/ismir-home | |
- name: Copy files | |
uses: burnett01/[email protected] | |
with: | |
switches: -avzc --delete-after | |
path: ./docs/_site/* | |
remote_path: public_html | |
remote_port: 2222 | |
remote_host: ${{ secrets.WEBHOST_HOSTNAME }} | |
remote_user: ${{ secrets.WEBHOST_USERNAME }} | |
remote_key: ${{ secrets.WEBHOST_PRIVATE_KEY }} |