Skip to content

add git pull step to deployment workflow and remove duplicate command… #3

add git pull step to deployment workflow and remove duplicate command…

add git pull step to deployment workflow and remove duplicate command… #3

Workflow file for this run

on:
push:
branches: [master]
jobs:
deploy:
runs-on: self-hosted
steps:
- name: Pull latest code
working-directory: ${{ vars.DEPLOY_PATH }}
run: git pull origin master
- name: Deploy
working-directory: ${{ vars.DEPLOY_PATH }}
run: bin/deploy