Skip to content

Implement public project page #29

Implement public project page

Implement public project page #29

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
production:
runs-on: ubuntu-latest
environment:
name: production
url: https://maplinedraw.com
steps:
- name: Setup SSH
uses: benoitchantre/setup-ssh-authentication-action@1.0.1
with:
private-key-name: id_ed25519
private-key: ${{ secrets.SSH_PRIVATE_KEY }}
known-hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
- name: Deploy Web
run: ssh user@maplinedraw.com "bash maplinedraw/scripts/deploy.sh"
- name: Cleanup
run: rm -rf ~/.ssh