Clarify ties in open contest result ranklist #115
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
name: ci | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
DEPLOYMENT_HOST: ${{ secrets.DEPLOYMENT_HOST }} | |
DEPLOYMENT_KNOWN_HOSTS: ${{ secrets.DEPLOYMENT_KNOWN_HOSTS }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install SSH key | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.DEPLOYMENT_PRIVATE_KEY }} | |
known_hosts: ${{ secrets.DEPLOYMENT_KNOWN_HOSTS }} | |
- name: Rsync app/ | |
run: rsync -avzh app/ root@${DEPLOYMENT_HOST}:/var/www/html/osn/app | |
- name: Rsync public/ | |
run: rsync -avzh public/ root@${DEPLOYMENT_HOST}:/var/www/html/osn/public |