Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Actions #12

Open
wit3 opened this issue May 25, 2022 · 1 comment
Open

Github Actions #12

wit3 opened this issue May 25, 2022 · 1 comment

Comments

@wit3
Copy link

wit3 commented May 25, 2022

Hi, when i try to use deploy with Github Actions and make new deploy.yml file in workflow folder

the github action when push file on my repo fail because not found artisan
PHP Warning: require(/home/runner/work/xxxx/yyyyy/vendor/autoload.php): Failed to open stream: No such file or directory in /home/runner/work/xxxx/yyyyy/artisan on line 18

name: Laravel ASSETS

on:
  push:
    branches: [staging]

jobs:
  laravel-tests:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - name: Generate Airdrop Hash
        run: echo "AIRDROP_HASH=$(php artisan airdrop:hash)" >> $GITHUB_ENV
      - name: Cache Airdrop Assets
        uses: actions/cache@v2
        with:
          key: ${{ runner.os }}-airdrop-${{ env.AIRDROP_HASH }}
          path: /tmp/airdrop-*
@lucas-vale-encora
Copy link

Got the same here, looks like you have to run compose require for that package. Before it actually you have to run with an image which has php and node installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants