Skip to content

build: use prebuild containers for builds #18

build: use prebuild containers for builds

build: use prebuild containers for builds #18

Workflow file for this run

---
name: appimage
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
DESTDIR: ../AppDir
jobs:
build-appimage:
name: build AppImage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: build
run: |

Check failure on line 19 in .github/workflows/appimage.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/appimage.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
scripts/build.sh appimage
- name: build AppImage
uses: AppImageCrafters/build-appimage@v1.3
with:
recipe: .github/AppImageBuilder.yml
- uses: actions/upload-artifact@v3
name: upload artifacts to github
with:
name: AppImage
path: '*.AppImage*'
deploy-appimage:
name: deploy AppImage
runs-on: ubuntu-latest
needs: build-appimage
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
steps:
- name: Download artifact
uses: dawidd6/action-download-artifact@v2
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
workflow_conclusion: success
- name: FTP Deployer
uses: sand4rt/ftp-deployer@v1.7
with:
sftp: true
host: ${{ secrets.SFTP_SERVER }}
port: 22
username: ${{ secrets.SFTP_USERNAME }}
password: ${{ secrets.SFTP_PASSWORD }}
remote_folder: '/upload'
local_folder: '.'
cleanup: false
include: '[ "*", "**/*" ]'
exclude: '[".github/**", ".git/**", "*.env"]'