Skip to content

* Started playing with deployment #10

* Started playing with deployment

* Started playing with deployment #10

Workflow file for this run

name: Push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
jobs:
my-deployment:
name: deploy to production
runs-on: ubuntu-latest
steps:
# - run: apk update
- uses: actions/checkout@v3
- uses: webfactory/ssh-agent@v0.8.0
with:
ssh-private-key: ${{ secrets.WWF_SSH_PRIVATE_KEY }}
- run: mkdir -p ~/.ssh
- run: echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- run: ssh ${{ secrets.WWF_SSH_USERNAME }}@${{ secrets.WWF_SERVER }} "mkdir -p ./merci"