Skip to content

Commit

Permalink
test1
Browse files Browse the repository at this point in the history
  • Loading branch information
HedwigO committed Dec 6, 2023
1 parent 2ea666f commit 0d8ee1d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy to DigitalOcean Droplet
'on':
push:
branches:
- master, workflows-action

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to DigitalOcean Droplet
uses: appleboy/ssh-action@master
with:
host: ${{secrets.HOST}}
username: ${{secrets.USERNAME}}
key: ${{secrets.KEY}}
script: |
export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
rm -rf test
mkdir test
cd test
git clone [email protected]:username/projectname
echo 'Deployment to digital ocean finished'

0 comments on commit 0d8ee1d

Please sign in to comment.