Skip to content

pwncollege/dojo-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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.