Skip to content

Fix workflow

Fix workflow #25

Workflow file for this run

name: scilus_website build
on:
push:
branches:
- master
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: scil-website-runners
steps:
- name: Install dependancies
run: |
sudo apt-get update
sudo apt-get install -y \
git rsync
- name: Checkout repository
uses: actions/checkout@v4.1.1
with:
submodules: ''
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.123.8'
extended: true
- name: Build
run: hugo -D -F -b "https://scil.usherbrooke.ca" -d /scil.usherbrooke.ca/
- name: rsync deployments
uses: burnett01/rsync-deployments@7.0.0
with:
switches: --delete -r
legacy_allow_rsa_hostkeys: "true"
path: ${{ secret.HOST_PATH }}

Check failure on line 45 in .github/workflows/build_website.yml

View workflow run for this annotation

GitHub Actions / scilus_website build

Invalid workflow file

The workflow is not valid. .github/workflows/build_website.yml (Line: 45, Col: 19): Unrecognized named-value: 'secret'. Located at position 1 within expression: secret.HOST_PATH .github/workflows/build_website.yml (Line: 46, Col: 26): Unrecognized named-value: 'secret'. Located at position 1 within expression: secret.REMOTE_PATH
remote_path: ${{ secret.REMOTE_PATH }}
remote_host: ${{ secret.REMOTE_HOST }}
remote_user: ${{ secret.REMOTE_USER }}
remote_key: ${{ secrets.DEPLOY_KEY }}