diff --git a/.gitea/workflows/stage.yml b/.gitea/workflows/stage.yml new file mode 100644 index 0000000..958cd61 --- /dev/null +++ b/.gitea/workflows/stage.yml @@ -0,0 +1,22 @@ +name: Deploy to staging webserver +run-name: ${{ gitea.actor }} is deploying to staging environment +on: + push: + branches: [ staging ] + workflow_dispatch: + +jobs: + Deploy-To-Staging: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Deploy via SFTP + uses: appleboy/scp-action@master + with: + host: ${{ secrets.STAGING_SFTP_HOST }} + username: ${{ secrets.STAGING_SFTP_USERNAME }} + key: ${{ secrets.STAGING_SFTP_PRIVATE_KEY }} + source: "public_html/" + target: "~/web/jasonwilliamsca.dev.jnf.me/public_html/" + strip_components: 1 \ No newline at end of file diff --git a/.gitignore b/.gitignore index 089a77a..159e739 100644 --- a/.gitignore +++ b/.gitignore @@ -4,11 +4,12 @@ # Allow decending into directories !*/ -# Include files in the root directory +# Include files in the root and .gitea directories !/* +!/.gitea/** # Include the custom theme -!/themes/jason-williamsca/** +!/public_html/themes/jason-williamsca/** # Include custom plugins -!/plugins/jasonwilliams/** \ No newline at end of file +!/public_html/plugins/jasonwilliams/** \ No newline at end of file diff --git a/themes/jason-williamsca/assets/css/resume.css b/public_html/themes/jason-williamsca/assets/css/resume.css similarity index 100% rename from themes/jason-williamsca/assets/css/resume.css rename to public_html/themes/jason-williamsca/assets/css/resume.css diff --git a/themes/jason-williamsca/assets/css/sidemenu.css b/public_html/themes/jason-williamsca/assets/css/sidemenu.css similarity index 100% rename from themes/jason-williamsca/assets/css/sidemenu.css rename to public_html/themes/jason-williamsca/assets/css/sidemenu.css diff --git a/themes/jason-williamsca/assets/css/theme.css b/public_html/themes/jason-williamsca/assets/css/theme.css similarity index 100% rename from themes/jason-williamsca/assets/css/theme.css rename to public_html/themes/jason-williamsca/assets/css/theme.css diff --git a/themes/jason-williamsca/assets/images/favicon-16x16.png b/public_html/themes/jason-williamsca/assets/images/favicon-16x16.png similarity index 100% rename from themes/jason-williamsca/assets/images/favicon-16x16.png rename to public_html/themes/jason-williamsca/assets/images/favicon-16x16.png diff --git a/themes/jason-williamsca/assets/images/favicon-32x32.png b/public_html/themes/jason-williamsca/assets/images/favicon-32x32.png similarity index 100% rename from themes/jason-williamsca/assets/images/favicon-32x32.png rename to public_html/themes/jason-williamsca/assets/images/favicon-32x32.png diff --git a/themes/jason-williamsca/assets/images/jwlogo.svg b/public_html/themes/jason-williamsca/assets/images/jwlogo.svg similarity index 100% rename from themes/jason-williamsca/assets/images/jwlogo.svg rename to public_html/themes/jason-williamsca/assets/images/jwlogo.svg diff --git a/themes/jason-williamsca/assets/images/loading.svg b/public_html/themes/jason-williamsca/assets/images/loading.svg similarity index 100% rename from themes/jason-williamsca/assets/images/loading.svg rename to public_html/themes/jason-williamsca/assets/images/loading.svg diff --git a/themes/jason-williamsca/assets/images/madeinyyc.png b/public_html/themes/jason-williamsca/assets/images/madeinyyc.png similarity index 100% rename from themes/jason-williamsca/assets/images/madeinyyc.png rename to public_html/themes/jason-williamsca/assets/images/madeinyyc.png diff --git a/themes/jason-williamsca/assets/images/resume-photo.png b/public_html/themes/jason-williamsca/assets/images/resume-photo.png similarity index 100% rename from themes/jason-williamsca/assets/images/resume-photo.png rename to public_html/themes/jason-williamsca/assets/images/resume-photo.png diff --git a/themes/jason-williamsca/assets/images/theme-preview.png b/public_html/themes/jason-williamsca/assets/images/theme-preview.png similarity index 100% rename from themes/jason-williamsca/assets/images/theme-preview.png rename to public_html/themes/jason-williamsca/assets/images/theme-preview.png diff --git a/themes/jason-williamsca/assets/javascript/common.js b/public_html/themes/jason-williamsca/assets/javascript/common.js similarity index 100% rename from themes/jason-williamsca/assets/javascript/common.js rename to public_html/themes/jason-williamsca/assets/javascript/common.js diff --git a/themes/jason-williamsca/assets/javascript/resume.js b/public_html/themes/jason-williamsca/assets/javascript/resume.js similarity index 100% rename from themes/jason-williamsca/assets/javascript/resume.js rename to public_html/themes/jason-williamsca/assets/javascript/resume.js diff --git a/themes/jason-williamsca/layouts/default.htm b/public_html/themes/jason-williamsca/layouts/default.htm similarity index 100% rename from themes/jason-williamsca/layouts/default.htm rename to public_html/themes/jason-williamsca/layouts/default.htm diff --git a/themes/jason-williamsca/layouts/sidesubmenu.htm b/public_html/themes/jason-williamsca/layouts/sidesubmenu.htm similarity index 100% rename from themes/jason-williamsca/layouts/sidesubmenu.htm rename to public_html/themes/jason-williamsca/layouts/sidesubmenu.htm diff --git a/themes/jason-williamsca/pages/contact.htm b/public_html/themes/jason-williamsca/pages/contact.htm similarity index 100% rename from themes/jason-williamsca/pages/contact.htm rename to public_html/themes/jason-williamsca/pages/contact.htm diff --git a/themes/jason-williamsca/pages/found.htm b/public_html/themes/jason-williamsca/pages/found.htm similarity index 100% rename from themes/jason-williamsca/pages/found.htm rename to public_html/themes/jason-williamsca/pages/found.htm diff --git a/public_html/themes/jason-williamsca/pages/pgp-public-key.htm b/public_html/themes/jason-williamsca/pages/pgp-public-key.htm new file mode 100644 index 0000000..0e02b65 --- /dev/null +++ b/public_html/themes/jason-williamsca/pages/pgp-public-key.htm @@ -0,0 +1,17 @@ +title = "PGP Public Key" +url = "/pgp" +layout = "default" +is_hidden = 0 +== +
If you wish, you may use my PGP public key here to encrypt anything that you send me. Of course I'll need a way to get my hands on your public key in order to be able to decrypt it, so please make sure you provide that or that you've published it to a well-known public directory like keyserver.pgp.com.
+