Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - name: Install SSH key
- uses: shimataro/ssh-key-action@v2
- with:
- key: "${{ secrets.SSH_PRIVATE_KEY }}"
- name: id_rsa
- known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
- - name: download assets
- uses: bash
- run: |
- cd $GITHUB_WORKSPACE
- curl -fsSL https://github.com/exult/exult/releases/latest/download/Exult.exe -O
- curl -fsSL https://github.com/exult/exult/releases/latest/download/ExultStudio.exe -O
- curl -fsSL https://github.com/exult/exult/releases/latest/download/ExultTools.exe -O
- curl -fsSL https://github.com/exult/exult/releases/latest/download/Gimp20Plugin.exe -O
- curl -fsSL https://github.com/exult/exult/releases/latest/download/Keyring.zip -O
- curl -fsSL https://github.com/exult/exult/releases/latest/download/SFisland.zip -O
- curl -fsSL https://github.com/exult/exult/releases/latest/download/Sifixes.zip -O
- - name: Upload and update website
- shell: bash
- run: |
- cd $GITHUB_WORKSPACE
- scp -i ~/.ssh/id_rsa *.exe ${{ secrets.SCP_HOST }}:${{ secrets.PROJECT_HOME }}/htdocs/snapshots/
- scp -i ~/.ssh/id_rsa *.zip ${{ secrets.SCP_HOST }}:${{ secrets.PROJECT_HOME }}/htdocs/snapshots/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement