From bf95f3bd6dc870f0aa2af58af0502494f2ac8c0a Mon Sep 17 00:00:00 2001 From: brooke Date: Tue, 4 Jun 2024 14:45:16 -0400 Subject: [PATCH] add deply script --- .forgejo/workflows/deploy-test.yaml | 38 +++++++++++++++++++++++++++++ content/art/index.md | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 .forgejo/workflows/deploy-test.yaml diff --git a/.forgejo/workflows/deploy-test.yaml b/.forgejo/workflows/deploy-test.yaml new file mode 100644 index 0000000..c355bcb --- /dev/null +++ b/.forgejo/workflows/deploy-test.yaml @@ -0,0 +1,38 @@ +name: Hugo + +on: + push: + branches: + - main + +jobs: + build: + runs-on: hugo-latest + steps: + - name: Temp fix to update hugo + run: wget "https://github.com/gohugoio/hugo/releases/download/v0.126.3/hugo_extended_0.126.3_Linux-64bit.tar.gz" && tar xf "hugo_extended_0.126.3_Linux-64bit.tar.gz" && mv ./hugo /usr/bin/hugo && rm -f hugo_extended_0.126.3_Linux-64bit.tar.gz LICENSE README.md + - name: Grab packages + run: apt install -y rsync openssh-client + - uses: actions/checkout@v4 + with: + submodules: 'true' + - name: Run build task + run: hugo --minify + - name: Test static page + run: bash ${{ gitea.workspace }}/bin/test_static_page.sh + - name: Deploy to Server + uses: https://git.myco.systems/mirrors/ssh-deploy@main + env: + SSH_PRIVATE_KEY: ${{ secrets.RUNNER_SSH_PRIVATE_KEY }} + ARGS: "-rlgoDzvc -i --delete" + SOURCE: "public/" + REMOTE_HOST: ${{ secrets.REMOTE_HOST }} + REMOTE_USER: ${{ secrets.REMOTE_USER }} + TARGET: ${{ secrets.REMOTE_TARGET }} + # - name: Running Page Speed Insights + # uses: https://github.com/JakePartusch/psi-action@v1.3 + # id: drafting + # with: + # url: "https://midtowndrafting.com" + # threshold: 70 + # strategy: desktop \ No newline at end of file diff --git a/content/art/index.md b/content/art/index.md index 2c3c8cb..b74460b 100644 --- a/content/art/index.md +++ b/content/art/index.md @@ -46,7 +46,7 @@ masonryGallery: - image: "/img/art/45.webp" --- -Introducing Ian Gallo, a metal sculpture artist who is rapidly making a name for himself through his unique approach to metalworking. With a reputation in the wedding industry, Ian has collaborated with numerus floral designers to create stunning and unforgettable displays for big name clients. +Introducing **Ian Gallo**, a metal sculpture artist who is rapidly making a name for himself through his unique approach to metalworking. With a reputation in the wedding industry, Ian has collaborated with numerus floral designers to create stunning and unforgettable displays for big name clients. Ian's artwork is a celebration of the natural world, as well as the intricate connections between people and their environment. His art draws inspiration from the raw beauty of industrial design, combining rugged materials with intricate detailing to create striking and thought-provoking pieces.