Skip to content

Update build_and_deploy_web_staging.yml #6

Update build_and_deploy_web_staging.yml

Update build_and_deploy_web_staging.yml #6

name: Build and Stage
on:
workflow_dispatch:
jobs:
build:
uses: ./.github/workflows/build_web.yml
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download build artifact
uses: actions/download-artifact@v4

Check failure on line 16 in .github/workflows/build_and_deploy_web_staging.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_and_deploy_web_staging.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
with:
name: web-build
path: build/web
- name: Upload to SFTP
uses: wlixcc/[email protected]
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local_path: ./build/web/*
remote_path: staging.wonderous.app/web
sftp_only: true