Skip to content

Commit

Permalink
github action update
Browse files Browse the repository at this point in the history
  • Loading branch information
lumapu committed Aug 21, 2023
1 parent 3312fe7 commit 6d12fcc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/compile_development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,12 @@ jobs:
src/install.html
- name: Deploy
working-directory: src/firmware
uses: nogsantos/scp-deploy@master
with:
src: src/firmware/
src: src/firmware/*
host: ${{ secrets.FW_SSH_HOST }}
remote: ${{ secrets.FW_SSH_DIR }}/dev
remote: ${{ secrets.FW_SSH_DIR }}/dev/${{ steps.rename-binary-files.outputs.name }}/
port: ${{ secrets.FW_SSH_PORT }}
user: ${{ secrets.FW_SSH_USER }}
key: ${{ secrets.FW_SSH_KEY }}
10 changes: 10 additions & 0 deletions .github/workflows/compile_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,13 @@ jobs:
asset_path: ./${{ steps.rename-binary-files.outputs.name }}.zip
asset_name: ${{ steps.rename-binary-files.outputs.name }}.zip
asset_content_type: application/zip

- name: Deploy
uses: nogsantos/scp-deploy@master
with:
src: src/firmware/*
host: ${{ secrets.FW_SSH_HOST }}
remote: ${{ secrets.FW_SSH_DIR }}/release/${{ steps.rename-binary-files.outputs.name }}/
port: ${{ secrets.FW_SSH_PORT }}
user: ${{ secrets.FW_SSH_USER }}
key: ${{ secrets.FW_SSH_KEY }}

0 comments on commit 6d12fcc

Please sign in to comment.