Try environment variables #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Update websiteInvalid workflow file
|
||
SESSION_ID: {{ secrets.ION_SESSION_ID }} | ||
run: | | ||
python3 update.py |