Skip to content

Add custom tag.

Add custom tag. #19

Workflow file for this run

name: Deployment
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies...
run: |
sudo apt-get install libvips
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run tests...
run: bundle exec sus
deploy:
needs: test
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v1
- name: Push to remote system
env:
DEPLOY_KEY: ${{secrets.deploy_key}}
run: |
eval "$(ssh-agent -s)"
ssh-add - <<< $DEPLOY_KEY
mkdir ~/.ssh
ssh-keyscan -H www.oriontransfer.net >> ~/.ssh/known_hosts
git push -f ssh://http@www.oriontransfer.net/srv/http/www.orbitalpanic.com/ HEAD:master