diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml new file mode 100644 index 0000000..fd88665 --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -0,0 +1,29 @@ +on: + push: + branches: + - main + +jobs: + build: + runs-on: docker + container: + image: ruby:3.3 + + steps: + - name: Install system dependencies + run: apt-get update && apt-get install nodejs rsync -y + - uses: https://code.forgejo.org/actions/checkout@v4 + - name: Install ruby dependencies + run: bundle install + - name: Build site + run: jekyll build --future --config _config.yml + - name: Deploy site + run: | + echo "${{ secrets.SERVER_SSH_KEY }}" >> /tmp/id_ecdsa + chmod 600 /tmp/id_ecdsa + rsync \ + -e "ssh -oStrictHostKeyChecking=no -i /tmp/id_ecdsa" \ + -avz --delete \ + _site/ \ + deploy@${{ secrets.SERVER_NAME }}:/ + rm -f /tmp/id_ecdsa diff --git a/README.md b/README.md index 7cdb7ff..f54fdbc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## poweris.moe Main Website +## yamatotoma.to Main Website Powered by [Beautiful Jekyll](https://github.com/daattali/beautiful-jekyll). diff --git a/_config.yml b/_config.yml index 02a4412..5ef1b82 100644 --- a/_config.yml +++ b/_config.yml @@ -13,11 +13,11 @@ author: YameteTomete # --- List of links in the navigation bar --- # -url: https://poweris.moe +url: https://yamatotoma.to navbar-links: - Projects: "https://poweris.moe/projects" - Symphogear Wiki: "https://wiki.poweris.moe/" + Projects: "https://yamatotoma.to/projects" + Symphogear Wiki: "https://wiki.yamatotoma.to/" Friends: - Kaleido-subs: "https://kaleido.kageru.moe/" - Good Job! Media: "https://www.goodjobmedia.com/" @@ -42,7 +42,7 @@ round-avatar: true # Select the social network links that you want to show in the footer. # Uncomment the links you want to show and add your information to each one. social-network-links: -# email: "louis@poweris.moe" +# email: "tomato@yamatotoma.to" # facebook: deanattali github: yttt twitter: YameteTomete diff --git a/_includes/social-networks-links.html b/_includes/social-networks-links.html index dbc5ece..bf29b0a 100644 --- a/_includes/social-networks-links.html +++ b/_includes/social-networks-links.html @@ -62,7 +62,7 @@ {%- if site.social-network-links.github -%}
  • - +