Skip to content

run bot script without docker #4

run bot script without docker

run bot script without docker #4

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: '7.4'
- 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: Run php script
run: php main.php