Skip to content

Snap stable build config for 4.5.2 #35

Snap stable build config for 4.5.2

Snap stable build config for 4.5.2 #35

name: Launchpad
on:
push:
branches: [ master ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Setup Launchpad Deploy SSH Key
env:
LAUNCHPAD_DEPLOY_KEY: ${{ secrets.LAUNCHPAD_DEPLOY_KEY }}
run: |
mkdir -p ~/.ssh
ssh-keyscan git.launchpad.net >> ~/.ssh/known_hosts
eval "$(ssh-agent -s)"
echo "${LAUNCHPAD_DEPLOY_KEY}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-add ~/.ssh/id_rsa
- name: Mirror to Launchpad
run: |
git clone --mirror https://github.com/Warzone2100/snap-stable-build.git
cd snap-stable-build.git
git push --mirror git+ssh://[email protected]/warzone2100-stable-snap
echo "Done."
- name: Cleanup
run: |
rm ~/.ssh/id_rsa