Skip to content

Create main.yml

Create main.yml #1

Workflow file for this run

name: Deploy pythonanywhere webapp
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
# Upload files
# ...
- name: Reload webapp
uses: jensvog/pythonanywhere-webapp-reload-action@v1
with:
host: 'eu.pythonanywhere.com'
username: {{ secrets.USERNAME }}

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

View workflow run for this annotation

GitHub Actions / Deploy pythonanywhere webapp

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 17, Col: 21): A mapping was not expected .github/workflows/main.yml (Line: 18, Col: 22): A mapping was not expected
api-token: {{ secrets.API_TOKEN }}
domain-name: {{ secrets.DOMAIN_NAME }}