Skip to content

Merge pull request #5 from NullDev/dependabot/npm_and_yarn/rollup-4.22.4 #23

Merge pull request #5 from NullDev/dependabot/npm_and_yarn/rollup-4.22.4

Merge pull request #5 from NullDev/dependabot/npm_and_yarn/rollup-4.22.4 #23

Workflow file for this run

name: cd
on:
workflow_dispatch:
push:
branches:
- master
paths-ignore:
- './.github/**'
- './nginx/**'
- README.md
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
concurrency: production
environment:
name: Production
if: ${{ !github.event.repository.fork }}
steps:
- name: Deploy to server
uses: appleboy/ssh-action@334f9259f2f8eb3376d33fa4c684fff373f2c2a6
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
cd /var/www/nulldev.org/nulldev-source
chmod +x ./action.deploy.sh
./action.deploy.sh