Linked Questions

Popular Questions

Following is the code in github action yml file

name: Laravel

on: push: branches: [ "main" ] pull_request: branches: [ "main" ]

jobs: laravel-tests:

runs-on: ubuntu-latest

steps:
- uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e
  with:
    php-version: '8.0'
- uses: actions/checkout@v3
- name: Copy .env
  run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: default deploy
  uses: appleboy/lambda-action@master
  with:
      aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
      aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
      aws_region: ${{ secrets.AWS_REGION }}
      function_name: 
      source: serverless.yml

Related Questions