Skip to content

MohGanji is Deploying website 🚀 #62

MohGanji is Deploying website 🚀

MohGanji is Deploying website 🚀 #62

Workflow file for this run

name: Deploy
run-name: ${{ github.actor }} is Deploying website 🚀
on:
push:
branches: [master]
workflow_dispatch:
jobs:
pull-updates:
runs-on: self-hosted
steps:
- run: echo "🎉 Deploying on server..."
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs a single command using the runners shell
- name: Run a git pull
run: cd /var/www/ganji.blog && git pull origin master
- run: echo "🍏 Job done ${{ job.status }}."