Skip to content

Update website on server #40

Update website on server

Update website on server #40

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