Skip to content

Try environment variables #5

Try environment variables

Try environment variables #5

name: Update website
on:
workflow_dispatch: {}
push:
branches: [ "master" ]
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Update site
shell: bash
env:
CSRF_TOKEN: {{ secrets.ION_CSRF_TOKEN }}

Check failure on line 18 in .github/workflows/update_website.yaml

View workflow run for this annotation

GitHub Actions / Update website

Invalid workflow file

The workflow is not valid. .github/workflows/update_website.yaml (Line: 18, Col: 21): A mapping was not expected .github/workflows/update_website.yaml (Line: 19, Col: 21): A mapping was not expected
SESSION_ID: {{ secrets.ION_SESSION_ID }}
run: |
python3 update.py