Advertisement
dominus

Untitled

Feb 13th, 2022
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. jobs:
  2. build:
  3. runs-on: ubuntu-latest
  4. steps:
  5. - name: Install SSH key
  6. uses: shimataro/ssh-key-action@v2
  7. with:
  8. key: "${{ secrets.SSH_PRIVATE_KEY }}"
  9. name: id_rsa
  10. known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
  11. - name: download assets
  12. uses: bash
  13. run: |
  14. cd $GITHUB_WORKSPACE
  15. curl -fsSL https://github.com/exult/exult/releases/latest/download/Exult.exe -O
  16. curl -fsSL https://github.com/exult/exult/releases/latest/download/ExultStudio.exe -O
  17. curl -fsSL https://github.com/exult/exult/releases/latest/download/ExultTools.exe -O
  18. curl -fsSL https://github.com/exult/exult/releases/latest/download/Gimp20Plugin.exe -O
  19. curl -fsSL https://github.com/exult/exult/releases/latest/download/Keyring.zip -O
  20. curl -fsSL https://github.com/exult/exult/releases/latest/download/SFisland.zip -O
  21. curl -fsSL https://github.com/exult/exult/releases/latest/download/Sifixes.zip -O
  22. - name: Upload and update website
  23. shell: bash
  24. run: |
  25. cd $GITHUB_WORKSPACE
  26. scp -i ~/.ssh/id_rsa *.exe ${{ secrets.SCP_HOST }}:${{ secrets.PROJECT_HOME }}/htdocs/snapshots/
  27. scp -i ~/.ssh/id_rsa *.zip ${{ secrets.SCP_HOST }}:${{ secrets.PROJECT_HOME }}/htdocs/snapshots/
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement