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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to open stream #223

Open
ghost opened this issue Mar 16, 2022 · 1 comment
Open

failed to open stream #223

ghost opened this issue Mar 16, 2022 · 1 comment
Labels
question Further information is requested

Comments

@ghost
Copy link

ghost commented Mar 16, 2022

Hello, good morning, I created an yml file like this using the examples on the main page.

on:
  push:
    paths-ignore:
      - 'README.md'
      - 'public/**'
      - 'laradock/**'
name: 馃殌 Deploy website on push (Master)
jobs:
  web-deploy:
    name: 馃帀 Deploy
    runs-on: ubuntu-latest
    steps:
      - uses: "actions/checkout@v3"
      - uses: "shivammathur/setup-php@v2"
        with:
          php-version: "latest"
      - uses: "ramsey/composer-install@v2"
          
      - name: Config ENV file
        run: mv .env.example .env

      - name: php artisan storage:link
        run: php artisan storage:link

      - name: php artisan optimize:clear
        run: php artisan optimize:clear

      - name: 馃搨 Sync files
        uses: SamKirkland/FTP-Deploy-Action@4.0.0
        with:
          server: ftp.example.ir
          username: example
          password: ${{ secrets.ftp_password }}
          server-dir: /dev.otoolbox.ir/

This action of mine runs correctly, but when I go to the host, an error file is created that shows the error related to the compressor. I manually transferred this folder from local to host and found that it works properly when I add local contents, but it gets an error when dependencies are created automatically.
Thanks to me, help me fix this problem.

@ghost ghost added the question Further information is requested label Mar 16, 2022
@ramsey
Copy link
Owner

ramsey commented Mar 25, 2022

an error file is created that shows the error related to the compressor

What is the error?

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

No branches or pull requests

1 participant