Sync site reference with gbfs.md spec (#33) #23
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: Update website on server | |
# Controls when the action will run. Workflow runs when manually triggered using the UI | |
# or API. | |
on: | |
push: | |
branches: | |
- master | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: executing remote ssh commands using password | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.ACTION_MAIN_WEBSERVER_SSH_HOST }} | |
username: ${{ secrets.ACTION_MAIN_WEBSERVER_SSH_USER }} | |
key: ${{ secrets.ACTION_MAIN_WEBSERVER_SSH_KEY }} | |
port: ${{ secrets.ACTION_MAIN_WEBSERVER_SSH_PORT }} | |
script: | | |
sh /root/gbfswebsite_updater.sh |