Skip to content

Portfolio

Portfolio #13

Workflow file for this run

jobs:
deploy:
runs-on: ubuntu-latest

Check failure on line 3 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
steps:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: Configure SMTP
run: |
echo "::add-mask::$GMAIL_PASSWORD"
echo "::set-env name=SMTP_USERNAME::${{ secrets.GMAIL_USERNAME }}"
echo "::set-env name=SMTP_PASSWORD::${{ secrets.GMAIL_PASSWORD }}"
- name: Run PHP Script
run: |
php your-script.php
env:
SMTP_USERNAME: ${{ env.SMTP_USERNAME }}
SMTP_PASSWORD: ${{ env.SMTP_PASSWORD }}