Skip to content

Update nyxx_lavalink to use nyxx 6.0.0 and Lavalink v4 (#16) #22

Update nyxx_lavalink to use nyxx 6.0.0 and Lavalink v4 (#16)

Update nyxx_lavalink to use nyxx 6.0.0 and Lavalink v4 (#16) #22

Workflow file for this run

name: deploy dev docs
on:
push:
branches:
- dev
- next
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- name: Setup Dart Action
uses: dart-lang/setup-dart@v1
- name: Checkout
uses: actions/checkout@v2.3.4
- name: Cache
uses: actions/cache@v2
with:
path: ~/.pub-cache
key: ${{ runner.os }}-pubspec-${{ hashFiles('**/pubspec.lock') }}
restore-keys: |
${{ runner.os }}-pubspec-
- name: Install dependencies
working-directory: packages/nyxx_lavalink
run: dart pub get
- name: Generate docs
working-directory: packages/nyxx_lavalink
run: dart doc
- name: Extract branch name
working-directory: packages/nyxx_lavalink
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
- name: Deploy nyxx dev docs
working-directory: packages/nyxx_lavalink
uses: easingthemes/ssh-deploy@v2.1.5

Check failure on line 44 in .github/workflows/deploy_docs.yml

View workflow run for this annotation

GitHub Actions / deploy dev docs

Invalid workflow file

The workflow is not valid. .github/workflows/deploy_docs.yml (Line: 44, Col: 9): Unexpected value 'uses' .github/workflows/deploy_docs.yml (Line: 42, Col: 9): Required property is missing: run
env:
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_SERVER_KEY }}
ARGS: "-rltDzvO"
SOURCE: "doc/api/"
REMOTE_HOST: ${{ secrets.DEPLOY_REMOTE_HOST }}
REMOTE_USER: ${{ secrets.DEPLOY_REMOTE_USER }}
TARGET: "${{ secrets.DEPLOY_REMOTE_TARGET }}/dartdocs/nyxx_lavalink/${{ steps.extract_branch.outputs.branch }}/"