Merge pull request #8 from sacsbrainz/main #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
on: | |
push: | |
branches: ["production"] | |
jobs: | |
deploy_job: | |
runs-on: ubuntu-latest | |
name: build&deploy | |
steps: | |
# To use this repository's private action, you must check out the repository | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: deploy file to server | |
uses: wlixcc/[email protected] | |
with: | |
username: "root" | |
server: "${{ secrets.SERVER_IP }}" | |
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} | |
local_path: "./*" | |
remote_path: "/var/www/sacsbrainz/sacsbrainz-analytics-dashboard" | |
sftpArgs: "-o ConnectTimeout=5" |