cwgreene / dojo-update

Update Your Dojo!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dojo Update

Update Your Dojo!

GitHub Action

.github/workflows/update.yml:

name: Update Dojo

on: push

jobs:
  update:
    runs-on: ubuntu-latest
    steps:
      - uses: pwncollege/dojo-update@v1
        with:
          dojo: <YOUR DOJO ID HERE>
          update_code: ${{ secrets.UPDATE_CODE }}

Inputs

  • dojo: The reference id of your dojo, for example official-dojo or unofficial-dojo~1a2b3c4d.
  • update_code: The update code of your dojo. This can be found by looking at the "Update" link in the dojo's Admin page. It will look like
https://pwn.college/dojo/DOJO_NAME/update/UPDATE_CODE

The update_code should be a secret, so you should add it to your repository's secrets. In the above example, the secret has been named UPDATE_CODE.

About

Update Your Dojo!