Skip to content

Bump undici and @sveltejs/kit #12

Bump undici and @sveltejs/kit

Bump undici and @sveltejs/kit #12

Workflow file for this run

on:
pull_request:
types: [closed]
env:
PASSWORD: ${{ secrets.FTP_PASS }}
USER: ${{ secrets.FTP_USER }}
SERVER: ${{32}}
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy to ftp server
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check pull request
uses: actions/github-script@v3
id: set-result
with:
script: |
return github.pulls.listFiles({owner: context.payload.repository.owner.login, repo: context.payload.repository.name, pull_number: context.payload.number})
.then(resp =>
resp.data.map(
file => ({filename: file.filename, status: file.status})
)
)
- name: Upload files to ftp server
uses: ./
id: upload-to-ftp
with:
files: ${{steps.set-result.outputs.result}}
ftpUsername: ${{USER}}

Check failure on line 32 in .github/workflows/upload.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/upload.yml

Invalid workflow file

The workflow is not valid. .github/workflows/upload.yml (Line: 32, Col: 24): Unrecognized named-value: 'USER'. Located at position 1 within expression: USER .github/workflows/upload.yml (Line: 33, Col: 24): Unrecognized named-value: 'PASSWORD'. Located at position 1 within expression: PASSWORD
ftpPassword: ${{PASSWORD}}
ftpHostname: ${{SERVER}}
src: test_folder
dest: '/test_dir'