diff --git a/.github/workflows/autopublic.yml b/.github/workflows/autopublic.yml new file mode 100644 index 0000000..af649e9 --- /dev/null +++ b/.github/workflows/autopublic.yml @@ -0,0 +1,20 @@ +name: Publish + +on: + push: + branches: + - master + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - uses: actions-rs/cargo@v1 + with: + command: publish + args: --token ${{ secrets.CARGO_TOKEN }} \ No newline at end of file diff --git a/src/helpers/ponies.rs b/src/helpers/ponies.rs index 881c4df..db92c9c 100644 --- a/src/helpers/ponies.rs +++ b/src/helpers/ponies.rs @@ -15,7 +15,7 @@ pub fn get_pony(name: String) -> Option { ("luna_large", include_bytes!("../../ponies/luna_large.txt").to_vec()), ("mcintosh_large", include_bytes!("../../ponies/mcintosh_large.txt").to_vec()), ("pinkiepie_large", include_bytes!("../../ponies/pinkiepie_large.txt").to_vec()), - ("rainbowdash_large", include_bytes!("../../ponies/rainbowdash_large.txt").to_vec()), + ("derpy_large", include_bytes!("../../ponies/derpy_large.txt").to_vec()), #[cfg(target_os = "linux")] ("rainbowdash", include_bytes!("../../ponies/rainbowdash.txt").to_vec()), #[cfg(target_os = "linux")]