Deploy project #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
run-name: Deploy project | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
Deploy: | |
runs-on: self-hosted | |
defaults: | |
run: | |
working-directory: ../../../../cubus | |
steps: | |
- name: Clone Codebase | |
run: git pull | |
- name: Install Dependencies | |
run: npm i && composer i | |
- name: Compile | |
run: npm run build |