Skip to content

Test action

Test action #5

Workflow file for this run

name: Deploy Frontend
on:
push:
branches: [ master, cd ]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Push to medusa
run: |
echo > sshkey <<EOF
${{ secrets.MEDUSA_GLOBAL_DEPLOY_KEY }}
EOF
echo "medusa.datasektionen.se ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINQs2XYxvfTZLFlacjJ4qGTWePKi0Qt9s618ipcAO8rc" >> ~/.ssh/known_hosts
git push [email protected]:meta-tv2-frontend $(git subtree -P Frontend/ split):master --force