Skip to content

deploy test

deploy test #11

Workflow file for this run

# vim:sw=2:ts=2
# build html version of docs and deploy to docs.phoenix-rtos.com
name: deploy
# on events
on:
push:
branches:
- master
- 'feature/*'
jobs:
build:
runs-on: ubuntu-latest
name: build
steps:
name: Build docs
uses: phoenix-rtos/phoenix-rtos-project/phoenix-rtos-doc/.github/workflows/build.yml@master
name: Upload artifact
uses: actions/upload-artifact@v4
with:

Check failure on line 23 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
name: html_build
path: _build
if-no-files-found: error
deploy:
runs-on: ubuntu-latest
name: deploy-on-merge
needs: build
steps:
- name: Download build artifact
uses: actions/download-artifact@v4
with:
name: html_build
path: _build
if-no-files-found: error
- name: Deploy docs
run: |
touch key
echo "" > key
sftp -i key -P 11022 [email protected] <<EOF
cd uploads
put -R _build
bye
EOF