diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9e3dbfa..9c0ec27 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,15 +7,16 @@ on: workflow_dispatch: jobs: - hello_world_job: + rcon_test: runs-on: ubuntu-latest - name: A job to say hello + name: RCON Test steps: - - name: Hello world action step - id: hello - uses: Plagiatus/RCON-Action@v0.0.2 + - name: + uses: Plagiatus/RCON-Action@v0.0.3 with: - who-to-greet: 'Mona the Octocat' - # Use the output from the `hello` step - - name: Get the output time - run: echo "The time was ${{ steps.hello.outputs.time }}" + server: ${{ secrets.rcon_server }} + port: ${{ secrets.rcon_port }} + password: ${{ secrets.rcon_password }} + commands: + - say hi + - reload