Skip to content

run bot script without docker #6

run bot script without docker

run bot script without docker #6

name: run bot script without docker
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
environment: myenvironment
steps:
- name: Checkout do Código
uses: actions/checkout@v2
- name: Configurar PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Make envfile
uses: SpicyPizza/[email protected]
with:
envkey_API_KEY: ${{secrets.API_KEY}}
envkey_API_SECRET_KEY: ${{secrets.API_SECRET_KEY}}
envkey_ACCESS_TOKEN: ${{secrets.ACCESS_TOKEN}}
envkey_ACCESS_TOKEN_SECRET: ${{secrets.ACCESS_TOKEN_SECRET}}
file_name: .env
- name: Install Composer Dependencies
run: composer install --ignore-platform-reqs
- name: Run php script
run: php main.php