Update reference.md (#45) #10
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 | |
paths-ignore: | |
- '.gitignore' | |
- '.gitattributes' | |
- 'LICENSE' | |
- 'README.md' | |
- '.github/workflows/**' | |
# 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/[email protected] | |
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 |