Test action #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |