From a73274cf23af1da509c046617df26d904f09d3ae Mon Sep 17 00:00:00 2001 From: Atsukoro1 Date: Tue, 6 Dec 2022 09:22:01 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20Autopush=20Github=20acti?= =?UTF-8?q?ons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/autopublic.yml | 20 ++++++++++++++++++++ src/helpers/ponies.rs | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/autopublic.yml 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")]