From 9d35d3b186ad5cbf09b45f09186ecf12651e7d44 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Thu, 14 Nov 2024 11:10:13 -0500 Subject: [PATCH] set up ewp.fyi --- .github/workflows/ewp-fyi.yml | 32 +++++++++++++ ...atten-com-deploy.yml => ewpratten-com.yml} | 0 sites/ewp.fyi/404.html | 13 ++++++ sites/ewp.fyi/_redirects | 45 +++++++++++++++++++ 4 files changed, 90 insertions(+) create mode 100644 .github/workflows/ewp-fyi.yml rename .github/workflows/{ewpratten-com-deploy.yml => ewpratten-com.yml} (100%) create mode 100644 sites/ewp.fyi/404.html create mode 100644 sites/ewp.fyi/_redirects diff --git a/.github/workflows/ewp-fyi.yml b/.github/workflows/ewp-fyi.yml new file mode 100644 index 0000000..8468ef1 --- /dev/null +++ b/.github/workflows/ewp-fyi.yml @@ -0,0 +1,32 @@ +name: Deploy ewp.fyi + +on: + push: + branches: + - master + paths: + - 'sites/ewp.fyi/**' + +jobs: + + deploy: + name: Deploy to Production + runs-on: ubuntu-latest + environment: production + permissions: + contents: read + deployments: write + + steps: + - name: Checkout master + uses: actions/checkout@v4 + + - name: Publish to Cloudflare Pages + uses: cloudflare/pages-action@v1 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + projectName: ewp-fyi + directory: sites/ewp.fyi + gitHubToken: ${{ secrets.GITHUB_TOKEN }} + wranglerVersion: '2' diff --git a/.github/workflows/ewpratten-com-deploy.yml b/.github/workflows/ewpratten-com.yml similarity index 100% rename from .github/workflows/ewpratten-com-deploy.yml rename to .github/workflows/ewpratten-com.yml diff --git a/sites/ewp.fyi/404.html b/sites/ewp.fyi/404.html new file mode 100644 index 0000000..a23f6c5 --- /dev/null +++ b/sites/ewp.fyi/404.html @@ -0,0 +1,13 @@ + + + + + + + NOT FOUND + + + Nothing was found at this URL.
+ Maybe you want to head to the main site? + + \ No newline at end of file diff --git a/sites/ewp.fyi/_redirects b/sites/ewp.fyi/_redirects new file mode 100644 index 0000000..0feedea --- /dev/null +++ b/sites/ewp.fyi/_redirects @@ -0,0 +1,45 @@ +# Short links to ewpratten.com +/ https://ewpratten.com +/blog https://ewpratten.com/blog +/music https://ewpratten.com/music/ +/photography https://ewpratten.com/photography +/photos /photography +/contact https://ewpratten.com/contact +/k https://ewpratten.com/keys/ssh + +# Music streaming service profiles +/spotify https://open.spotify.com/artist/1aLNEmgqBJkhfkEZvf8Vh5 +/apple-music https://music.apple.com/us/artist/evan-pratten/1611566708 + +# General social media +/github https://github.com/ewpratten +/youtube https://www.youtube.com/@ewpratten +/linkedin https://www.linkedin.com/in/ewpratten/ +/qrz https://qrz.com/db/va3zza + +# Minecraft modpack +/modpack https://ewpratten.com/games/minecraft/modpack +/modpack/:version https://ewpratten.com/download/minecraft-modpack/:version + +# Minecraft maps +/sdfmc-map https://ewpratten.com/maps/minecraft/mc-sdf-org +/rsninja-map https://ewpratten.com/maps/minecraft/rsninja-2020 + +# Minecraft Mods +/client-ping https://modrinth.com/mod/client-ping +/illuminated-shields https://modrinth.com/resourcepack/illuminated-shields + +# EWCONFIG +/config https://github.com/ewpratten/ewconfig + +# Projects +/tilde-tweaks https://github.com/ewpratten/tilde-tweaks +/tilde-tweaks/* https://github.com/ewpratten/tilde-tweaks/raw/master/scripts/:splat +/protomask https://ewpratten.com/software/apps/protomask +/protomask/v* https://github.com/ewpratten/protomask/releases/tag/v:splat +/protomask/latest https://github.com/ewpratten/protomask/releases/latest +/lra https://github.com/ewpratten/lra +/mlv https://github.com/ewpratten/mlv + +# Work +/cf-scripts https://cflare.co/ewp-scripts-bitbucket \ No newline at end of file