Enqueue script not enqueue style #112
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 | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: rlespinasse/github-slug-action@master | |
- name: SSH into host and update repo | |
if: github.ref == 'refs/heads/master' | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.SSH_HOST }} | |
username: ${{ secrets.SSH_USER }} | |
key: ${{ secrets.SSH_PRIVATE_KEY }} | |
script: | | |
cd ${{ secrets.PATH_TO_REPO_ROOT }} | |
git checkout ${{ env.GITHUB_REF_SLUG }} | |
git fetch | |
git reset --hard origin/${{ env.GITHUB_REF_SLUG }} | |
cd daddy-heimlich/ | |
composer install -o --no-dev |